Update disks
Some checks failed
ssh-test / ssh-test (push) Successful in 29s
update-flake-lock / update-flake-lock (push) Failing after 56s

This commit is contained in:
iFargle 2023-12-24 22:16:14 +09:00
parent 3b129bb63a
commit 03b0e49ee0
4 changed files with 40 additions and 10 deletions

View file

@ -1,6 +1,4 @@
{
imports = [ ../../common/services/snapper.nix ];
{
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";
@ -47,10 +45,6 @@
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # nix
"/.snapshots" = {
mountpoint = "/.snapshots";
mountOptions = [ "compress=zstd" "noatime" ];
}; # .snapshots
# Re-add this on the next refomrat
# "/Storage" = {
# mountpoint = "/Storage";

View file

@ -35,7 +35,7 @@
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/root" = {
"/" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
}; # root
@ -47,6 +47,18 @@
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # 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
}; # content.content
}; # content

View file

@ -35,7 +35,7 @@
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/root" = {
"/" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
}; # root
@ -47,6 +47,18 @@
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # 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
}; # content.content
}; # content

View file

@ -35,7 +35,7 @@
type = "btrfs";
extraArgs = [ "-f" ];
subvolumes = {
"/root" = {
"/" = {
mountpoint = "/";
mountOptions = [ "compress=zstd" "noatime" ];
}; # root
@ -47,6 +47,18 @@
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # 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
}; # content.content
}; # content