summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix5
-rw-r--r--hosts/laptop/configuration.nix12
2 files changed, 17 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 478fc63..f68c1f0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,6 +26,11 @@
specialArgs = { inherit inputs; };
modules = [ ./hosts/desktop/configuration.nix ];
};
+ laptop = nixpkgs.lib.nixosSystem {
+ system = "x86_64-linux";
+ specialArgs = { inherit inputs; };
+ modules = [ ./hosts/laptop/configuration.nix ];
+ };
};
};
}
diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix
new file mode 100644
index 0000000..9755333
--- /dev/null
+++ b/hosts/laptop/configuration.nix
@@ -0,0 +1,12 @@
+{ config, lib, pkgs, inputs, ... }:
+
+{
+ imports =
+ [ # Include the results of the hardware scan.
+ ./hardware-configuration.nix
+ ];
+
+ networking.hostName = "laptop";
+
+ programs.firefox.enable = true;
+}