summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
authorsils <sils@sils.li>2024-02-02 18:47:09 +0100
committersils <sils@sils.li>2024-02-02 18:47:09 +0100
commitcd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0 (patch)
treebc094c219a81635e1555c866dccb6407b5ec895a /flake
parentflake.lock: update (diff)
downloadnix-config-cd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0.tar.gz
nix-config-cd204e1fa56d7fbf4a2042dc1c1aeabd7e1a3fd0.zip
use development version of hyprland
Diffstat (limited to '')
-rw-r--r--flake.nix6
-rw-r--r--flake/nixosConfigurations/default.nix2
2 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b1d430d..97eead5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -146,6 +146,10 @@
       url = "git+https://git.project-insanity.org/onny/wl-togglescreens.git?ref=main";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+    hyprland = {
+      url = "github:hyprwm/hyprland";
+      inputs.systems.follows = "systems";
+    };
   };
   #}}}
   outputs = {
@@ -161,6 +165,7 @@
     flake-utils,
     agenix,
     ragenix,
+    hyprland,
     ...
   } @ attrs:
     flake-utils.lib.eachDefaultSystem (system: let
@@ -209,6 +214,7 @@
           flake-utils
           agenix
           ragenix
+          hyprland
           ;
       };
     };
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index 60f33b1..81f3f1c 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -11,6 +11,7 @@
   flake-utils,
   agenix,
   ragenix,
+  hyprland,
 } @ attrs: let
   defaultModules = [
     impermanence.nixosModules.impermanence
@@ -42,6 +43,7 @@
           (import ../../sys)
           (import ../../secrets)
           (import ./basesystem.nix)
+          {home-manager.extraSpecialArgs = attrs // conf;}
         ]
         ++ defaultModules;
     };