archive[server]: systemd-initrd systemd service

This commit is contained in:
Leon Schwarzäugl 2025-12-23 01:59:51 +01:00
parent 4a14888007
commit 23365c0358
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 0 additions and 36 deletions

View file

@ -9098,24 +9098,6 @@ lspci -k -d 14c3:0616
initrdBin = with pkgs; [ initrdBin = with pkgs; [
cryptsetup 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
# '';
# };
# };
}; };
}; };
}; };

View file

@ -65,24 +65,6 @@ in
initrdBin = with pkgs; [ initrdBin = with pkgs; [
cryptsetup 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
# '';
# };
# };
}; };
}; };
}; };