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