about summary refs log tree commit diff
path: root/nixosConfigurations
diff options
context:
space:
mode:
Diffstat (limited to 'nixosConfigurations')
-rw-r--r--nixosConfigurations/default.nix10
-rw-r--r--nixosConfigurations/test-headful/default.nix4
2 files changed, 6 insertions, 8 deletions
diff --git a/nixosConfigurations/default.nix b/nixosConfigurations/default.nix
index 2fa32f9..b2e1511 100644
--- a/nixosConfigurations/default.nix
+++ b/nixosConfigurations/default.nix
@@ -1,8 +1,5 @@
-{
-  inputs,
-  lib,
-}:
-with lib; let
+inputs:
+with inputs.self.lib; let
   mkConfiguration = name: {
     modules ? [],
     configuration ? ./${name},
@@ -21,7 +18,8 @@ with lib; let
         ++ optional (configuration != null) (import configuration);
       specialArgs =
         {
-          inherit inputs lib this;
+          inherit inputs this;
+          inherit (inputs.self) lib;
         }
         // extraSpecialArgs;
     });
diff --git a/nixosConfigurations/test-headful/default.nix b/nixosConfigurations/test-headful/default.nix
index 25db8c7..a385a2e 100644
--- a/nixosConfigurations/test-headful/default.nix
+++ b/nixosConfigurations/test-headful/default.nix
@@ -1,8 +1,8 @@
 {lib, ...}:
 with lib; {
   nixfiles.modules = {
-    dwm.enable = true;
-    kde.enable = false;
+    dwm.enable = false;
+    kde.enable = true;
     xmonad.enable = false;
   };
 

Consider giving Nix/NixOS a try! <3