summaryrefslogtreecommitdiff
path: root/machines/flake-module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/flake-module.nix')
-rw-r--r--machines/flake-module.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/machines/flake-module.nix b/machines/flake-module.nix
new file mode 100644
index 0000000..d06bfc2
--- /dev/null
+++ b/machines/flake-module.nix
@@ -0,0 +1,29 @@
+{ lib, self, ... }:
+let
+ inherit (lib) nixosSystem;
+ inherit (self.nixosModules) xnet xlib;
+in
+{
+ flake.nixosConfigurations = {
+ t480 = nixosSystem {
+ system = "x86_64-linux";
+ specialArgs = { inherit xlib; };
+ modules = [ ./t480 xnet ];
+ };
+
+ iso = nixosSystem {
+ system = "x86_64-linux";
+ modules = [ ./iso ];
+ };
+
+ # t1 = nixosSystem {
+ # system = "x86_64-linux";
+ # modules = [ ./t1 ];
+ # };
+ #
+ # iridium = nixosSystem {
+ # system = "x86_64-linux";
+ # modules = [ ./iridium ];
+ # };
+ };
+}