Fix deploy-rs
This commit is contained in:
parent
b23046ea5d
commit
a4fb022930
1 changed files with 48 additions and 46 deletions
|
@ -53,7 +53,8 @@ with inputs.nixpkgs.lib; {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
nixosConfigurations.${hostname} = nixosSystem {
|
nixosConfigurations.${hostname} = nixosSystem {
|
||||||
inherit system pkgs;
|
inherit system pkgs;
|
||||||
|
|
||||||
|
@ -99,8 +100,9 @@ with inputs.nixpkgs.lib; {
|
||||||
++ optionals (docker == true) [./suites/server/docker] # Enable docker if required.
|
++ optionals (docker == true) [./suites/server/docker] # Enable docker if required.
|
||||||
++ (filesystem.listFilesRecursive ./modules); # Custom modules.
|
++ (filesystem.listFilesRecursive ./modules); # Custom modules.
|
||||||
};
|
};
|
||||||
|
}
|
||||||
deploy.nodes.${hostname} = mkIf (strings.hasPrefix "server" suite) {
|
// optionalAttrs (strings.hasPrefix "server" suite) {
|
||||||
|
deploy.nodes.${hostname} = {
|
||||||
hostname = "${hostname}.local";
|
hostname = "${hostname}.local";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
user = "root";
|
user = "root";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue