diff --git a/default.nix b/default.nix deleted file mode 100644 index 369bfcbc..00000000 --- a/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ home-manager, stylix, ... }: - -{ - imports = [ - home-manager.nixosModules.home-manager - stylix.nixosModules.stylix - ./containers - ./hardware - ./home - ./modules - ./packages - ]; -} diff --git a/flake.nix b/flake.nix index d7898a08..27215dfa 100644 --- a/flake.nix +++ b/flake.nix @@ -21,13 +21,15 @@ }; }; - outputs = { self, nixpkgs, ... } @ attrs: with nixpkgs.lib; { + outputs = { self, nixpkgs, home-manager, stylix, ... } @ attrs: with nixpkgs.lib; { nixosConfigurations = { nixos = nixosSystem { system = "x86_64-linux"; specialArgs = attrs; modules = [ - ./. + home-manager.nixosModules.home-manager + stylix.nixosModules.stylix + ./hardware/laptop.nix { environment.pathsToLink = [ "/share/backgrounds"