This commit is contained in:
14
flake.nix
14
flake.nix
@@ -3,10 +3,9 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, deploy-rs, ... }@inputs:
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
settings = import ./settings.nix;
|
||||
system = "x86_64-linux";
|
||||
@@ -18,16 +17,5 @@
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
deploy.nodes."${settings.hostname}" = {
|
||||
hostname = "haschel";
|
||||
sshUser = "root";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.${system}.activate.nixos self.nixosConfigurations."${settings.hostname}";
|
||||
};
|
||||
};
|
||||
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user