archive[server]: systemd-initrd systemd service

This commit is contained in:
Leon Schwarzäugl 2025-12-23 01:59:51 +01:00 committed by Leon Schwarzäugl
parent 2d2cb3c8fe
commit ecbaf9482a
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
# '';
# };
# };
}; };
}; };
}; };