diff --git a/SwarselSystems.org b/SwarselSystems.org index b31437d..bd2078c 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -9098,24 +9098,6 @@ lspci -k -d 14c3:0616 initrdBin = with pkgs; [ cryptsetup ]; - # NOTE: the below does put the text into /root/.profile, but the command will not be run - # services = { - # unlock-luks = { - # wantedBy = [ "initrd.target" ]; - # after = [ "network.target" ]; - # before = [ "systemd-cryptsetup@cryptroot.service" ]; - # path = [ "/bin" ]; - - # serviceConfig = { - # Type = "oneshot"; - # RemainAfterExit = true; - # }; - - # script = '' - # echo "systemctl default" >> /root/.profile - # ''; - # }; - # }; }; }; }; diff --git a/modules/nixos/server/disk-encrypt.nix b/modules/nixos/server/disk-encrypt.nix index ad3557d..9c0da25 100644 --- a/modules/nixos/server/disk-encrypt.nix +++ b/modules/nixos/server/disk-encrypt.nix @@ -65,24 +65,6 @@ in initrdBin = with pkgs; [ cryptsetup ]; - # NOTE: the below does put the text into /root/.profile, but the command will not be run - # services = { - # unlock-luks = { - # wantedBy = [ "initrd.target" ]; - # after = [ "network.target" ]; - # before = [ "systemd-cryptsetup@cryptroot.service" ]; - # path = [ "/bin" ]; - - # serviceConfig = { - # Type = "oneshot"; - # RemainAfterExit = true; - # }; - - # script = '' - # echo "systemctl default" >> /root/.profile - # ''; - # }; - # }; }; }; };