diff --git a/configurations/default.nix b/configurations/default.nix index 5a0e35e..369e220 100644 --- a/configurations/default.nix +++ b/configurations/default.nix @@ -9,18 +9,4 @@ # pub-vds = import ./pub-vds.nix flakeContext; }; - deploy.nodes = { - sapphira = { - hostname = "sapphira"; - deploy = { - sshUser = "oqyude"; - }; - profiles.system = { - # user = "root"; - path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira; - }; - }; - }; - # This is highly advised, and will prevent many possible mistakes - checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks inputs.self.deploy) deploy-rs.lib; } diff --git a/flake.nix b/flake.nix index 4be800d..3b4eadf 100755 --- a/flake.nix +++ b/flake.nix @@ -108,7 +108,22 @@ let flakeContext = { inherit inputs; }; in - { } + { + deploy.nodes = { + sapphira = { + hostname = "sapphira"; + deploy = { + sshUser = "oqyude"; + }; + profiles.system = { + # user = "root"; + path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.sapphira; + }; + }; + }; + # This is highly advised, and will prevent many possible mistakes + checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks inputs.self.deploy) deploy-rs.lib; + } // (import ./home flakeContext) // (import ./configurations flakeContext) // (import ./modules flakeContext)