Serenity/core/hosts/hades/config.nix
2024-09-14 01:56:29 +10:00

28 lines
601 B
Nix

{ inputs, outputs, config, lib, pkgs, ... }:
{
imports = [
## Include the results of the hardware scan.
./hardware.nix
#"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
./network.nix
../../config.nix
];
## trim to keep SSDs healthy-ish
services.fstrim.enable = true;
nix = {
#settings = {
#};
gc = {
## every day, automatically collect garbage older than 10 days
automatic = true;
dates = "daily";
options = "--delete-older-than 10d";
persistent = true;
};
};
}