diff --git a/flake.nix b/flake.nix index 71f9b16..6ef3ab0 100644 --- a/flake.nix +++ b/flake.nix @@ -17,13 +17,16 @@ nixosConfigurations.some-random-system = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ - #./some-random-system/configuration.nix + ./machines/base.nix ]; }; - deploy.nodes.some-random-system.profiles.system = { - user = "root"; + deploy.nodes.example = { + hostname = "192.168.1.157"; + profiles.system = { path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.some-random-system; + user = "root"; + }; }; # This is highly advised, and will prevent many possible mistakes