initial commit

This commit is contained in:
sid 2026-02-23 20:50:47 +01:00
commit c094b5770c
113 changed files with 6879 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
let
# NOTE: Add a "main user" option to normalUsers? This would also set a sane default for the Syncthing module.
user = "sid";
inherit (lib) mkDefault mkForce;
in
{
programs.nh = {
enable = mkDefault true;
clean.enable = mkDefault true;
clean.extraArgs = mkDefault "--keep-since 4d --keep 3";
flake = config.users.users."${user}".home + "/.config/nixos";
};
nix.gc.automatic = mkForce false; # collides with `programs.nh.clean`
}