From ecbaf9482af011ca879c4735abad94bf34f8fa35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Tue, 23 Dec 2025 01:59:51 +0100 Subject: [PATCH] archive[server]: systemd-initrd systemd service --- SwarselSystems.org | 18 ------------------ modules/nixos/server/disk-encrypt.nix | 18 ------------------ 2 files changed, 36 deletions(-) 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 - # ''; - # }; - # }; }; }; };