mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Refactor
This commit is contained in:
parent
0d7164fe0a
commit
49c918f747
13 changed files with 53 additions and 53 deletions
|
|
@ -18,15 +18,15 @@ let
|
|||
++ lib.optional (lib.pathExists "${self}/users/seb/@${hostName}") "${self}/users/seb/@${hostName}";
|
||||
};
|
||||
|
||||
mkDeployNode = hostname: {
|
||||
hostname = "${hostname}.${
|
||||
self.nixosConfigurations.${hostname}.config.custom.networking.overlay.domain
|
||||
mkDeployNode = hostName: {
|
||||
hostname = "${hostName}.${
|
||||
self.nixosConfigurations.${hostName}.config.custom.networking.overlay.domain
|
||||
}";
|
||||
user = "root";
|
||||
interactiveSudo = true;
|
||||
profiles.system.path =
|
||||
inputs.deploy-rs.lib.x86_64-linux.activate.nixos
|
||||
self.nixosConfigurations.${hostname};
|
||||
self.nixosConfigurations.${hostName};
|
||||
};
|
||||
|
||||
hostNames = "${self}/hosts" |> self.lib.listDirectoryNames;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue