feat(backups): backups work
This commit is contained in:
parent
12251ef703
commit
bd964bad48
6 changed files with 83 additions and 6 deletions
|
|
@ -4,22 +4,28 @@
|
|||
./hardware-configuration.nix
|
||||
|
||||
../../modules/boot
|
||||
../../modules/backups
|
||||
../../modules/desktop
|
||||
../../modules/develop
|
||||
../../modules/networking
|
||||
../../modules/networking/tailscale.nix
|
||||
../../modules/virtualisation
|
||||
];
|
||||
|
||||
networking.hostName = "p14s";
|
||||
|
||||
# swap & hibernate
|
||||
boot.initrd.luks.devices."luks-21284f67-5a63-41be-9354-07a0240cac50".crypttabExtraOpts = [
|
||||
"fido2-device=auto"
|
||||
];
|
||||
boot.initrd.luks.devices."luks-d51bdb99-5966-40d3-a920-83ea78a73699" = {
|
||||
device = "/dev/disk/by-uuid/d51bdb99-5966-40d3-a920-83ea78a73699";
|
||||
crypttabExtraOpts = [ "tpm2-device=auto" ];
|
||||
};
|
||||
boot.kernelParams = [ "resume=/dev/disk/by-uuid/d51bdb99-5966-40d3-a920-83ea78a73699" ];
|
||||
|
||||
boot.initrd.checkJournalingFS = false;
|
||||
boot.kernelParams = [ "resume=/dev/mapper/luks-d51bdb99-5966-40d3-a920-83ea78a73699" ];
|
||||
boot.resumeDevice = "/dev/mapper/luks-d51bdb99-5966-40d3-a920-83ea78a73699";
|
||||
|
||||
boot.initrd.checkJournalingFS = false;
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue