From 4547e75868cba2a265b78661ddc386b5e81c1bb0 Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 7 Oct 2024 11:47:06 +0300 Subject: init --- home-manager/home.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 home-manager/home.nix (limited to 'home-manager/home.nix') 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"; +} -- cgit v1.2.3