mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
archive[server]: systemd-initrd systemd service
This commit is contained in:
parent
2d2cb3c8fe
commit
ecbaf9482a
2 changed files with 0 additions and 36 deletions
|
|
@ -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
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue