From 4730b215fdc4095800fedfdf690c12fec994bb6b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 2 Oct 2024 22:07:10 -0500 Subject: more reorganizing and modularizing --- flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 1108ba0..e69a67b 100644 --- a/flake.nix +++ b/flake.nix @@ -12,29 +12,27 @@ arkenfox = { url = "github:dwarfmaster/arkenfox-nixos"; inputs.nixpkgs.follows = "nixpkgs"; - #inputs.home-manager.follows = "home-manager"; }; }; outputs = { nixpkgs, home-manager, arkenfox, ... }@inputs : - # HOSTNAME NIXOS let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; in { - nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { + nixosConfigurations.T430 = nixpkgs.lib.nixosSystem { inherit system; specialArgs = { inherit inputs; }; modules = [ - ./configuration.nix - ./modules + ./modules/hosts/T430/configuration.nix + ./modules/root ]; }; homeConfigurations.timmy = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ - ./home.nix + ./modules/home inputs.arkenfox.hmModules.arkenfox ]; }; -- cgit v1.2.3