diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2024-10-07 11:47:06 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2024-10-07 11:47:06 +0300 |
commit | 4547e75868cba2a265b78661ddc386b5e81c1bb0 (patch) | |
tree | 71924feb573c8af5030080fc007eee7bfbaabb20 /home-manager/home.nix | |
download | nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.tar.gz nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.tar.bz2 nix-4547e75868cba2a265b78661ddc386b5e81c1bb0.zip |
Diffstat (limited to 'home-manager/home.nix')
-rw-r--r-- | home-manager/home.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix new file mode 100644 index 0000000..88fbcf3 --- /dev/null +++ b/home-manager/home.nix @@ -0,0 +1,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"; +} |