Add 1 git-crypt collaborator
[sourcephile-nix.git] / hosts / losurdo / system.nix
index 3c5f553cf362c6fcd569ae13dc3e77c8d0264a6a..be5de6f60b2f8ad30d5477be899a2b6fe5a7e4cf 100644 (file)
@@ -5,6 +5,11 @@
   # You should change this only after NixOS release notes say you should.
   system.stateVersion = "19.09"; # Did you read the comment?
 
+  boot.initrd.systemd = {
+    enable = true;
+    emergencyAccess = true; # FIXME: use a password
+  };
+
   nix.gc.dates = "weekly";
   nix.gc.options = "--delete-older-than 7d";
 
   # when reinstalling NixOS on a new drive.
   # Manually generated with : uuidgen | tr -d -
   environment.etc.machine-id.source = ./machine-id.clear;
-  environment.systemPackages = with pkgs; [
-    bluez
-    cryptsetup
-    direnv
-    # f3 # broken
-    file
-    fio
-    gdb
-    git
-    gptfdisk
-    #hey
-    home-manager
-    lm_sensors
-    rsync
-    socat
-    sanoid
-    #iptables-nftables-compat
-    pkgs.gnupg
-    miniupnpc
-    audit
-    python
-  ];
 }