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 {
|
||||
inherit system pkgs;
|
||||
|
||||
|
@ -99,8 +100,9 @@ with inputs.nixpkgs.lib; {
|
|||
++ optionals (docker == true) [./suites/server/docker] # Enable docker if required.
|
||||
++ (filesystem.listFilesRecursive ./modules); # Custom modules.
|
||||
};
|
||||
|
||||
deploy.nodes.${hostname} = mkIf (strings.hasPrefix "server" suite) {
|
||||
}
|
||||
// optionalAttrs (strings.hasPrefix "server" suite) {
|
||||
deploy.nodes.${hostname} = {
|
||||
hostname = "${hostname}.local";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue