Create downloads dataset without snapshotting

This commit is contained in:
coolneng 2020-12-01 16:09:12 +01:00
parent 75c83a743e
commit 96285e4b11
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 19 additions and 14 deletions

View File

@ -9,18 +9,13 @@
compressed = true;
recvu = true;
};
pure = true;
zetup = {
"syscea/stateful/root" = {
plan = "1day=>1hour,2week=>1day,1month=>1week,1year=>1month";
recursive = true;
mbuffer.enable = true;
};
"syscea/stateful/root".plan =
"1day=>1hour,2week=>1day,1month=>1week,1year=>1month";
"syscea/stateful/home" = {
plan = "1day=>1hour,2week=>1day,1month=>1week,1year=>1month";
recursive = true;
mbuffer.enable = true;
};
"syscea/stateful/home".plan =
"1day=>1hour,2week=>1day,1month=>1week,1year=>1month";
};
};

View File

@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
@ -23,6 +23,16 @@
fsType = "zfs";
};
fileSystems."/sdcard" =
{ device = "systemd-1";
fsType = "autofs";
};
fileSystems."/usb" =
{ device = "systemd-1";
fsType = "autofs";
};
fileSystems."/tmp" =
{ device = "syscea/ephemeral/tmp";
fsType = "zfs";
@ -38,9 +48,9 @@
fsType = "vfat";
};
fileSystems."/media" =
{ device = "/nix/store/9hxfq3jh32j6d81d6n5y5dc2wqdkh4wy-auto";
fsType = "autofs";
fileSystems."/home/coolneng/Downloads" =
{ device = "syscea/stateful/home/downloads";
fsType = "zfs";
};
swapDevices =