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