1 { config, pkgs, lib, ... }:
8 enable = lib.mkDefault true;
9 dev.enable = lib.mkDefault false;
10 doc.enable = lib.mkDefault true;
11 info.enable = lib.mkDefault false;
12 man.enable = lib.mkDefault true;
13 nixos.enable = lib.mkDefault false;
15 environment.variables = {
18 SYSTEMD_LESS = "FKMRX";
20 home-manager.users.root = {
22 ../../home-manager/options.nix
23 ../../home-manager/profiles/essential.nix
26 systemd.services.home-manager-root.postStart = ''
27 ${pkgs.nix}/bin/nix-env --delete-generations +1 --profile /nix/var/nix/profiles/per-user/root/home-manager
30 settings.auto-optimise-store = lib.mkDefault true;
31 gc.automatic = lib.mkDefault true;
32 gc.dates = lib.mkDefault "weekly";
33 gc.options = lib.mkDefault "--delete-older-than 7d";
34 nixPath = lib.mkForce [ ];
36 security.lockKernelModules = false;
40 MaxRetentionSec=1month
45 users.mutableUsers = false;