From 807740ce7efbc782b91ba8e140f2522ee258c795 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 3 Dec 2023 04:50:17 -0500 Subject: [PATCH] refactor: add perSystem func --- common/default.nix | 6 ++++++ flake.nix | Bin 2753 -> 2625 bytes 2 files changed, 6 insertions(+) diff --git a/common/default.nix b/common/default.nix index 926df4fd..66f3a581 100644 --- a/common/default.nix +++ b/common/default.nix @@ -2,6 +2,7 @@ config, lib, nixpkgs, + home-manager, nh, nix-melt, nur, @@ -18,6 +19,7 @@ nur.nixosModules.nur nh.nixosModules.default + home-manager.nixosModules.home-manager ]; nixpkgs.config.allowUnfree = true; @@ -59,6 +61,10 @@ }; }; + # Global hm settings + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users = let default = { imports = [ diff --git a/flake.nix b/flake.nix index 81495b40368efce4ae9f4208d9b90485b8e43594..e7f9fea7f90c9ebc017388e94c4701f16a6a6da1 100644 GIT binary patch delta 394 zcmX>odQe2HnoB_;zqF*Fw4_+URv|MF%y5{Bvq8 z*_M}C0b=Rpq^2h(R|X^|XD6no7VD{0L-f>ILp5aP!F7VoSAfWajnRZULRrBjH7&6; zrvxeq)=@lJky*y1xF9t-Gcm`p2y7|Dix8tzAXo$2Nv!(iAxO_<;9d+#OheQ$NJI^3VR06bG^rX&oO&Hf(T08&cGW!MTz&P+SM>OJ-@ zyObnZ-u?j*5>dQ~KKQO>U$_`jdiN?7X6D=XlhC(BLh^Jvks~f(0Gp~)Y30{ISjvTh zS_(6g#8?mo74H`v-_>)c)sH#DU4{}g!NM!mT!#EPqgZkU~Vt0A{li3 zftN`fQ2vDIxJ+8cR3gLMrS}qxF^Z;TiofEb_Vg|y&KOVZT2=(0znohgI!8@oE>j#4 jM2Et