feat: Cleanup
This commit is contained in:
parent
7f40353d1b
commit
1bb829eced
8 changed files with 18 additions and 18 deletions
|
@ -31,10 +31,5 @@
|
|||
what = "morbo:/backups";
|
||||
where = "/mnt/gbackups";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "morbo:/minecraft";
|
||||
where = "/mnt/gminecraft";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -26,9 +26,5 @@
|
|||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/gbackups";
|
||||
}
|
||||
{
|
||||
wantedBy = ["multi-user.target"];
|
||||
where = "/mnt/gminecraft";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -31,10 +31,5 @@
|
|||
what = "127.0.0.1:/backups";
|
||||
where = "/mnt/gbackups";
|
||||
}
|
||||
{
|
||||
type = "glusterfs";
|
||||
what = "127.0.0.1:/minecraft";
|
||||
where = "/mnt/gminecraft";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
./packages.nix
|
||||
./users.nix
|
||||
./locale.nix
|
||||
# ./smart.nix
|
||||
./smart.nix
|
||||
# ./prometheus.nix
|
||||
../../common/style/stylix.nix
|
||||
];
|
||||
|
|
|
@ -6,6 +6,5 @@
|
|||
}: {
|
||||
services.smartd = {
|
||||
enable = true;
|
||||
notifications.wall.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@ in {
|
|||
|
||||
# Other
|
||||
zsnaplatest = "zfs list -t snapshot -H -S creation -o name -d 1";
|
||||
zl = "zfs list -o name,used,refer,written -r -t";
|
||||
emacsnw = "emacsclient -nw -c";
|
||||
install-doom = "git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d && ~/.emacs.d/bin/doom install";
|
||||
fhinit = "nix run \"https://flakehub.com/f/DeterminateSystems/fh/*.tar.gz\" -- init";
|
||||
|
|
|
@ -12,5 +12,12 @@
|
|||
networking.hostId = "dbcb155c";
|
||||
boot.zfs.extraPools = ["red" "p36002"];
|
||||
|
||||
services.zfs.autoSnapshot.enable = true;
|
||||
services.zfs.autoSnapshot = {
|
||||
enable = true;
|
||||
frequent = 4;
|
||||
hourly = 24;
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
monthly = 0;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,14 @@
|
|||
boot.zfs.extraPools = ["exos" "p3600"];
|
||||
boot.kernelParams = ["zfs.zfs_arc_max=8589934592"]; # 8GB
|
||||
|
||||
services.zfs.autoSnapshot.enable = true;
|
||||
services.zfs.autoSnapshot = {
|
||||
enable = true;
|
||||
frequent = 4;
|
||||
hourly = 24;
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
monthly = 0;
|
||||
};
|
||||
|
||||
users.users.zfs = {
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue