summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-06-18 12:42:21 +0200
committersils <sils@sils.li>2023-06-18 12:42:21 +0200
commit26b5d756d493f6ba6a0b10503abfb738825f4bd4 (patch)
tree376086494db88615620b192278a1610057640478 /flake.nix
parentFeat(s/environment): Add CDPATH Variable (diff)
downloadnix-config-26b5d756d493f6ba6a0b10503abfb738825f4bd4.tar.gz
nix-config-26b5d756d493f6ba6a0b10503abfb738825f4bd4.zip
Feat(flake): Update and restructure
Diffstat (limited to '')
-rw-r--r--flake.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 00e9e76..23076c6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,5 +1,6 @@
 {
   description = "My Nixos system configuration";
+  # inputs {{{
   inputs = {
     nixpkgs.url = "github:NixOs/nixpkgs/nixos-23.05";
     home-manager = {
@@ -81,6 +82,7 @@
       };
     };
   };
+  #}}}
   outputs = {
     self,
     nixpkgs,
@@ -104,10 +106,12 @@
         ./hosts/thinklappi
         home-manager.nixosModules.home-manager
         {
-          home-manager.useGlobalPkgs = true;
-          home-manager.useUserPackages = true;
-          home-manager.users.sils = import ./users/sils;
-          home-manager.extraSpecialArgs = {inherit nixpkgs system sysLib river_init_lesser yambar_cpu yambar_memory grades;};
+          home-manager = {
+            useGlobalPkgs = true;
+            useUserPackages = true;
+            users.sils = import ./users/sils;
+            extraSpecialArgs = {inherit nixpkgs system sysLib river_init_lesser yambar_cpu yambar_memory grades;};
+        };
         }
       ];
     };