about summary refs log tree commit diff
path: root/modules/common/home-manager.nix
blob: f2fc8a806cabfabc379cd0bac724ae37d949d271 (plain) (blame)
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
{
  config,
  inputs,
  lib,
  ...
}:
with lib;
{
  imports = [
    inputs.home-manager.nixosModule
    (mkAliasOptionModule [ "hm" ] [
      "home-manager"
      "users"
      my.username
    ])
  ];

  hm = {
    news.display = "silent";
    home = {
      inherit (config.system) stateVersion;
      enableNixpkgsReleaseCheck = false;
    };
  };

  home-manager = {
    backupFileExtension = "bak";
    useUserPackages = true;
    useGlobalPkgs = true;
    verbose = true;
  };
}

Consider giving Nix/NixOS a try! <3