aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/home.nix
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
committergramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
commit4547e75868cba2a265b78661ddc386b5e81c1bb0 (patch)
tree71924feb573c8af5030080fc007eee7bfbaabb20 /home-manager/home.nix
downloadnix-master.tar.gz
nix-master.tar.bz2
nix-master.zip
Diffstat (limited to 'home-manager/home.nix')
-rw-r--r--home-manager/home.nix43
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";
+}