Update disks
This commit is contained in:
parent
3b129bb63a
commit
03b0e49ee0
4 changed files with 40 additions and 10 deletions
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
imports = [ ../../common/services/snapper.nix ];
|
|
||||||
|
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
|
||||||
|
@ -47,10 +45,6 @@
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # nix
|
}; # nix
|
||||||
"/.snapshots" = {
|
|
||||||
mountpoint = "/.snapshots";
|
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
|
||||||
}; # .snapshots
|
|
||||||
# Re-add this on the next refomrat
|
# Re-add this on the next refomrat
|
||||||
# "/Storage" = {
|
# "/Storage" = {
|
||||||
# mountpoint = "/Storage";
|
# mountpoint = "/Storage";
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [ "-f" ];
|
extraArgs = [ "-f" ];
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"/root" = {
|
"/" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # root
|
}; # root
|
||||||
|
@ -47,6 +47,18 @@
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # nix
|
}; # nix
|
||||||
|
"/.snapshots" = {
|
||||||
|
mountpoint = "/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # root snapshots
|
||||||
|
"/home/.snapshots" = {
|
||||||
|
mountpoint = "/home/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # home snapshots
|
||||||
|
"/nix/.snapshots" = {
|
||||||
|
mountpoint = "/nix/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # nix snapshots
|
||||||
}; # subvolumes
|
}; # subvolumes
|
||||||
}; # content.content
|
}; # content.content
|
||||||
}; # content
|
}; # content
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [ "-f" ];
|
extraArgs = [ "-f" ];
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"/root" = {
|
"/" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # root
|
}; # root
|
||||||
|
@ -47,6 +47,18 @@
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # nix
|
}; # nix
|
||||||
|
"/.snapshots" = {
|
||||||
|
mountpoint = "/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # root snapshots
|
||||||
|
"/home/.snapshots" = {
|
||||||
|
mountpoint = "/home/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # home snapshots
|
||||||
|
"/nix/.snapshots" = {
|
||||||
|
mountpoint = "/nix/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # nix snapshots
|
||||||
}; # subvolumes
|
}; # subvolumes
|
||||||
}; # content.content
|
}; # content.content
|
||||||
}; # content
|
}; # content
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [ "-f" ];
|
extraArgs = [ "-f" ];
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
"/root" = {
|
"/" = {
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # root
|
}; # root
|
||||||
|
@ -47,6 +47,18 @@
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # nix
|
}; # nix
|
||||||
|
"/.snapshots" = {
|
||||||
|
mountpoint = "/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # root snapshots
|
||||||
|
"/home/.snapshots" = {
|
||||||
|
mountpoint = "/home/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # home snapshots
|
||||||
|
"/nix/.snapshots" = {
|
||||||
|
mountpoint = "/nix/.snapshots";
|
||||||
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
|
}; # nix snapshots
|
||||||
}; # subvolumes
|
}; # subvolumes
|
||||||
}; # content.content
|
}; # content.content
|
||||||
}; # content
|
}; # content
|
||||||
|
|
Loading…
Reference in a new issue