aboutsummaryrefslogtreecommitdiff
path: root/hosts/wonderland/home.nix
blob: 1a6dc7cb4b6fbafca39a07bfe2f4d51fa35f20d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  flakeRoot,
  inputs,
  config,
  ...
}:
{
  home-manager = {
    useGlobalPkgs = true;
    useUserPackages = true;
    sharedModules = [
      {
        imports = [
          (flakeRoot + /share/cfg)
          (flakeRoot + /share/cfg/senpai.nix)
        ];
      }
    ];
    extraSpecialArgs = {
      inherit inputs;
      inherit (config) sops;
    };
  };

  home-manager.users.alice = {
    custom.hyprdesktop = {
      enable = true;
      hasBluetooth = true;
      hasBrightnessCtl = true;
      hasBattery = true;
      enableGitAnnex = true;
    };

    home.stateVersion = "22.05";
  }; # End of users.alice

  home-manager.users.root.home.stateVersion = "22.05";
}