Update configuration.nix

This commit is contained in:
batvin321 2025-01-26 17:42:45 -05:00
parent 1214df146a
commit 780fea8142

View File

@ -10,15 +10,39 @@
./hardware-configuration.nix
];
# This mounts the ZFS pool
b#oot.supportedFilesystems = [ "zfs" ];
#boot.zfs.forceImportRoot = false;
#networking.hostId = "6d778fb4"; # head -c4 /dev/urandom | od -A none -t x4
## This mounts the ZFS pool
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
networking.hostId = "1f72512b"; # head -c4 /dev/urandom | od -A none -t x4
## uncomment after formating disks or editing to import disks
#fileSystems."/mnt/media" = {
# device = "media-pool";
# fsType = "zfs";
#};
## ZFS snapshots
#services.sanoid = {
# enable = true;
# templates.backup = {
# hourly = 36;
# daily = 30;
# monthly = 3;
# autoprune = true;
# autosnap = true;
# };
# datasets."media-pool" = {
# useTemplate = [ "backup" ];
# };
#};
#services.zfs.autoScrub = {
# enable = true;
# interval = "*-*-1,15 02:30";
#};
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;