From 286340b6f12e438616c01018ec8882e46f63f846 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 20 Apr 2025 01:34:33 +0300 Subject: Refactored nix config to make it slightly more modular --- flake.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'flake.nix') 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 ]; }; }; -- cgit v1.3.1