Update btrfs

This commit is contained in:
iFargle 2023-12-12 14:46:58 +09:00
parent f72f04c976
commit 1930f623aa
3 changed files with 6 additions and 2 deletions

View file

@ -17,6 +17,7 @@ nix develop -c /etc/nixos/git/docs/setup.sh
![Gruv'd Hyprland](./docs/screenshot.png "Hyprland with a Gruvboxy theme") ![Gruv'd Hyprland](./docs/screenshot.png "Hyprland with a Gruvboxy theme")
--- ---
# framework-server ToDo List # framework-server ToDo List
* [ ] Add a /Storage btrfs subvolume for Docker
* [ ] Potentially need to set up a new PGP key for use with ProtonMail * [ ] Potentially need to set up a new PGP key for use with ProtonMail
* [ ] Try this https://www.ntop.org/products/traffic-analysis/ntop/ * [ ] Try this https://www.ntop.org/products/traffic-analysis/ntop/

View file

@ -1,8 +1,7 @@
{ lib, pkgs, desktop, ... }: { { lib, pkgs, desktop, ... }: {
environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) pkgs.snapper-gui; environment.systemPackages = [ snapper ] ++ lib.optional (builtins.isString desktop) pkgs.snapper-gui;
services.snapper = { services.snapper = {
enable = true;
snapshotRootOnBoot = true; snapshotRootOnBoot = true;
cleanupInterval = "1d"; cleanupInterval = "1d";
snapshotInterval = "1h"; snapshotInterval = "1h";

View file

@ -47,6 +47,10 @@
mountpoint = "/nix"; mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" ];
}; # nix }; # nix
"/Storage" = {
mountpoint = "/Storage";
mountOptions = [ "compress=zstd" "noatime" ];
}; # Storage
}; # subvolumes }; # subvolumes
}; # content.content }; # content.content
}; # content }; # content