Update nuc-server disk
This commit is contained in:
parent
0e60dd81fc
commit
17a19c28a9
1 changed files with 15 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
|||
{
|
||||
imports = [ ../../common/services/snapper.nix ];
|
||||
|
||||
# extra configs not present in the standard config above
|
||||
services.snapper.configs.Local-Storage = {
|
||||
TIMELINE_CREATE = true;
|
||||
TIMELINE_CLEANUP = true;
|
||||
SUBVOLUME = "/Local-Storage";
|
||||
};
|
||||
|
||||
services.btrfs.autoScrub.enable = true;
|
||||
services.btrfs.autoScrub.interval = "weekly";
|
||||
|
||||
|
@ -47,6 +54,10 @@
|
|||
mountpoint = "/nix";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # nix
|
||||
"/Local-Storage" = {
|
||||
mountpoint = "/Local-Storage";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # Local-Storage
|
||||
# SNAPSHOT SUBVOLS
|
||||
"/root/.snapshots" = {
|
||||
mountpoint = "/.snapshots";
|
||||
|
@ -60,6 +71,10 @@
|
|||
mountpoint = "/nix/.snapshots";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # nix
|
||||
"/Local-Storage/.snapshots" = {
|
||||
mountpoint = "/Storage/.snapshots";
|
||||
mountOptions = [ "compress=zstd" "noatime" ];
|
||||
}; # Local-Storage
|
||||
}; # subvolumes
|
||||
}; # content.content
|
||||
}; # content
|
||||
|
|
Loading…
Reference in a new issue