From 70b8527b2b06a7a8f8a3872c74df8c4d40356409 Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 11 Oct 2024 17:17:34 +0200 Subject: [PATCH] Added new host to flake --- flake.nix | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/flake.nix b/flake.nix index 6606808..4b185c8 100644 --- a/flake.nix +++ b/flake.nix @@ -69,26 +69,31 @@ }; }; + # pm01vm01 Configuration nixosConfigurations = { - vnix-ctr = nixpkgs.lib.nixosSystem { + pm01vm01 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ - ({ config, pkgs, ... }: { - nixpkgs.overlays = [ overlay-unstable ]; - networking.hostName = "vnix-ctn01"; - }) + ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) - ./hosts/vnix-ctr - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.extraSpecialArgs = { inherit inputs nix-colors; }; - home-manager.users.xeovalyte.imports = [ ./hosts/vnix-ctr/home.nix ]; - } + ./hosts/pm01vm01 ]; }; }; + + homeConfigurations = { + "xeovalyte@pm01vm01" = home-manager.lib.homeManagerConfiguration { + pkgs = nixpkgs.legacyPackages.x86_64-linux; + extraSpecialArgs = { inherit inputs nix-colors; }; + modules = [ + ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) + + ./hosts/pm01vm01/home.nix + ]; + }; + }; + }; }