summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-04-20 01:34:33 +0300
committerKyren223 <Kyren223@proton.me>2025-04-20 01:34:33 +0300
commit286340b6f12e438616c01018ec8882e46f63f846 (patch)
tree4deea2baf11520cc5d56bd1a9ff2b00ff6e196df /flake.nix
parent0c9444b0ce0fe243d857a00ac7f646c3adac0aa2 (diff)
Refactored nix config to make it slightly more modular
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 5a0e834..dd2df2d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,10 +12,16 @@
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations = {
- kyren-laptop = nixpkgs.lib.nixosSystem {
+ laptop = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
- ./hosts/kyren-laptop/configuration.nix
+ ./hosts/laptop.nix
+ ];
+ };
+ lapsktop = nixpkgs.lib.nixosSystem {
+ specialArgs = {inherit inputs;};
+ modules = [
+ ./hosts/lapsktop.nix
];
};
};