aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/home.nix
blob: 88fbcf3f3cc5716b8048a2961e7d2f54b5e2a1b6 (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
33
34
35
36
37
38
39
40
41
42
43
{
  inputs,
  outputs,
  config,
  ...
}: {
  imports = [
    ./dotfiles
    ./programs
    ./packages.nix
  ];

  nixpkgs = {
    overlays = [
      outputs.overlays.additions
      outputs.overlays.modifications
      outputs.overlays.master-packages
    ];
    config = {
      allowUnfree = true;
      # Workaround for https://github.com/nix-community/home-manager/issues/2942
      allowUnfreePredicate = _: true;

      # permittedInsecurePackages = [
      #   "openssl-1.1.1w"
      #   "electron-27.3.11"
      # ];
    };
  };

  home = {
    username = "grm";
    homeDirectory = "/home/grm";
    sessionPath = ["$HOME/bin"];
  };

  xdg.mimeApps.enable = true;

  # Nicely reload system units when changing configs
  systemd.user.startServices = "sd-switch";

  home.stateVersion = "24.11";
}