aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-07-22 13:49:47 +0200
committerKarel Kočí <cynerd@email.cz>2022-07-22 13:49:47 +0200
commitf7132927208e730e382d7725f83b2046e0e628f8 (patch)
tree96cc68e7fdf628cc3482d001fc380a41b1c745c5 /nixos/machine
parentb66f27c56dc5b03e2646b097a884ec855d4af9a6 (diff)
downloadnixos-personal-f7132927208e730e382d7725f83b2046e0e628f8.tar.gz
nixos-personal-f7132927208e730e382d7725f83b2046e0e628f8.tar.bz2
nixos-personal-f7132927208e730e382d7725f83b2046e0e628f8.zip
nixos/machine/dean: add openocd and sterm and fix swap
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/dean.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/machine/dean.nix b/nixos/machine/dean.nix
index 3f449e3..b34bb0b 100644
--- a/nixos/machine/dean.nix
+++ b/nixos/machine/dean.nix
@@ -31,10 +31,15 @@ with lib;
dhcpcd.allowInterfaces = [ "brlan" ];
};
- swapDevices.swapfile = {
+ swapDevices = [{
device = "/var/swap";
priority = 1;
- };
+ }];
+
+ environment.systemPackages = with pkgs; [
+ openocd
+ sterm
+ ];
};