1
Fork 0

Missing file + removed option

This commit is contained in:
Matei Adriel 2023-07-18 17:39:38 +03:00
parent 98d6daf89e
commit ccf58efcb3
No known key found for this signature in database
2 changed files with 12 additions and 4 deletions

View file

@ -12,10 +12,6 @@
# Adds me to some default groups, and creates the home dir
isNormalUser = true;
# Not sure if this works, but it's supposed to be the password
# assigned when the user is first created.
initialPassword = "pleasechangeme";
# File containing my password, managed by agenix
passwordFile = config.age.secrets.adrielusPassword.path;

View file

@ -0,0 +1,12 @@
{ config, ... }: {
# Configure ZFS
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.extraPools = [ "zroot" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelParams = [ "nohibernate" ];
# Roll back to blank snapshot on boot
# boot.initrd.postDeviceCommands = lib.mkAfter ''
# zfs rollback -r zroot@blank
# '';
}