aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--flake.nix10
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index c5ae0678..a43470cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@ _deps
build/
result
/.vscode/
+.envrc
*.o
*-protocol.c
diff --git a/flake.nix b/flake.nix
index e7ec284c..0fa5fcfb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,6 +48,16 @@
default = self.packages.${system}.hyprland;
});
+ devShells = genSystems (system: {
+ default = pkgsFor.${system}.mkShell.override {stdenv = pkgsFor.${system}.gcc12Stdenv;} {
+ name = "hyprland-shell";
+ inputsFrom = [
+ self.packages.${system}.wlroots-hyprland
+ self.packages.${system}.hyprland
+ ];
+ };
+ });
+
formatter = genSystems (system: pkgsFor.${system}.alejandra);
nixosModules.default = import ./nix/module.nix self;