aboutsummaryrefslogblamecommitdiffstats
path: root/home-manager/home.nix
blob: 88fbcf3f3cc5716b8048a2961e7d2f54b5e2a1b6 (plain) (tree)










































                                                                                
{
  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";
}