aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-16 21:14:04 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-16 21:14:04 +0200
commit4f4a853214bc85df796f5aeee5958151a3302c1a (patch)
treee35c2c9d7929a206eec71429fa9b3333b2cd9339
parent351ed1e9d5365ea286bddd6a7c8b9a78285caf02 (diff)
add module
-rw-r--r--default.nix1
-rw-r--r--flake.nix6
2 files changed, 6 insertions, 1 deletions
diff --git a/default.nix b/default.nix
deleted file mode 100644
index c915eb0..0000000
--- a/default.nix
+++ /dev/null
@@ -1 +0,0 @@
-{ ... }: { }
diff --git a/flake.nix b/flake.nix
index d24a75e..e305715 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,5 +26,11 @@
};
overlays.default = final: prev: { inherit (self.packages.${prev.system}) webtray; };
+
+ nixosModules.default =
+ { pkgs, ... }:
+ {
+ environment.systemPackages = [ self.packages.${pkgs.system}.default ];
+ };
};
}