Compare commits
2 Commits
8bb20bf05e
...
c81594af01
| Author | SHA1 | Date | |
|---|---|---|---|
| c81594af01 | |||
| 6f999882d3 |
@@ -395,8 +395,8 @@ Pre-migration:
|
|||||||
- [ ] NixOS config builds successfully
|
- [ ] NixOS config builds successfully
|
||||||
|
|
||||||
During migration:
|
During migration:
|
||||||
- [ ] Arch Linux shutdown cleanly
|
|
||||||
- [ ] ZFS pools exported
|
- [ ] ZFS pools exported
|
||||||
|
- [ ] Arch Linux shutdown cleanly
|
||||||
- [ ] Booted from NixOS USB
|
- [ ] Booted from NixOS USB
|
||||||
- [ ] nvme0n1p5 formatted with btrfs
|
- [ ] nvme0n1p5 formatted with btrfs
|
||||||
- [ ] Btrfs subvolumes created
|
- [ ] Btrfs subvolumes created
|
||||||
|
|||||||
@@ -39,6 +39,17 @@
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
boot.initrd.luks.devices."luks-b614167b-9045-4234-a441-ac6f60a96d81".device = "/dev/disk/by-uuid/b614167b-9045-4234-a441-ac6f60a96d81";
|
boot.initrd.luks.devices."luks-b614167b-9045-4234-a441-ac6f60a96d81".device = "/dev/disk/by-uuid/b614167b-9045-4234-a441-ac6f60a96d81";
|
||||||
|
|
||||||
|
services.logind.settings.Login = {
|
||||||
|
HandleLidSwitch = "suspend-then-hibernate";
|
||||||
|
HandlePowerKey = "hibernate";
|
||||||
|
HandlePowerKeyLongPress = "poweroff";
|
||||||
|
};
|
||||||
|
systemd.sleep.extraConfig = ''
|
||||||
|
HibernateDelaySec=30m
|
||||||
|
SuspendState=mem
|
||||||
|
'';
|
||||||
|
|
||||||
networking.hostName = "nix-book"; # Define your hostname.
|
networking.hostName = "nix-book"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user