summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorBossCode45 <human.cyborg42@gmail.com>2024-05-30 12:19:27 +1200
committerBossCode45 <human.cyborg42@gmail.com>2024-05-30 12:19:27 +1200
commite162dff48c251e262f475de9261f0ecfa0f39dc4 (patch)
tree32492f6c22e1b85c811f8a52942857c1f2773a1d /flake.nix
parent2c9d13e954c2ee66ff4d43949bedc73e60637a34 (diff)
downloadYATwm-e162dff48c251e262f475de9261f0ecfa0f39dc4.tar.gz
YATwm-e162dff48c251e262f475de9261f0ecfa0f39dc4.zip
feat: Updated readme and added nix support
Added a flake.nix and shell.nix and .envrc so nix+direnv will work well
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..d56f11d
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,14 @@
+{
+ description = "YATwm";
+
+ inputs.flake-utils.url = "github:numtide/flake-utils";
+
+ outputs = { self, nixpkgs, flake-utils }:
+ flake-utils.lib.eachDefaultSystem
+ (system:
+ let pkgs = nixpkgs.legacyPackages.${system}; in
+ {
+ devShells.default = import ./shell.nix { inherit pkgs; };
+ }
+ );
+}