diff options
author | sefidel <contact@sefidel.net> | 2023-08-26 10:12:57 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-26 10:15:39 +0900 |
commit | 076d0705ed7b392c1d099e942b5957228609c7ea (patch) | |
tree | 26c92377c0720c35216710e251a156d98a0352af /nixos/alpha | |
parent | 6ac33ae4e637cc2e514fc11d199faa4eac7637ae (diff) | |
download | nixrc-076d0705ed7b392c1d099e942b5957228609c7ea.tar.gz nixrc-076d0705ed7b392c1d099e942b5957228609c7ea.zip |
feat(nixos/alpha)!: allow hibernation on zfs
Diffstat (limited to 'nixos/alpha')
-rw-r--r-- | nixos/alpha/configuration.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 2dbcb0a..1d02ccf 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -21,6 +21,9 @@ boot.initrd.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ]; boot.zfs.enableUnstable = true; + boot.zfs.forceImportRoot = false; + boot.zfs.forceImportAll = false; + boot.zfs.allowHibernation = true; # NOTE: disable if using swap on ZFS # GRUB bootloader boot.loader.efi.canTouchEfiVariables = true; @@ -93,6 +96,8 @@ services.zfs.autoScrub.enable = true; services.zfs.autoScrub.pools = [ "rpool" ]; + + services.openssh.enable = true; services.openssh.settings.PasswordAuthentication = false; services.openssh.hostKeys = [ |