treewide: define fqdn, use as default deployment target host
This commit is contained in:
parent
a700ee2445
commit
c70b287890
11
flake.nix
11
flake.nix
|
@ -125,9 +125,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
defaults = { config, lib, pkgs, ... }: {
|
defaults = { config, lib, pkgs, ... }: {
|
||||||
# disable remote deployment by default
|
deployment.targetHost = lib.mkDefault config.networking.fqdn;
|
||||||
# (can stil build locally with nixos-rebuild)
|
|
||||||
deployment.targetHost = lib.mkDefault null;
|
|
||||||
deployment.buildOnTarget = lib.mkDefault true;
|
deployment.buildOnTarget = lib.mkDefault true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -142,10 +140,9 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
elucredassa.deployment.targetHost = "10.127.3.2";
|
kilgharrah.deployment.targetHost = null; # disable remote deployment
|
||||||
yevaud.deployment.targetHost = "yevaud.birdsong.network";
|
tohru.deployment.targetHost = null; # disable remote deployment
|
||||||
orm.deployment.targetHost = "orm.birdsong.network";
|
elucredassa.deployment.targetHost = "10.127.3.2"; # no fqdn yet
|
||||||
kalessin.deployment.targetHost = "kalessin.birdsong.network";
|
|
||||||
|
|
||||||
kilgharrah.imports = [ ./hosts/kilgharrah ];
|
kilgharrah.imports = [ ./hosts/kilgharrah ];
|
||||||
tohru.imports = [ ./hosts/tohru ];
|
tohru.imports = [ ./hosts/tohru ];
|
||||||
|
|
|
@ -12,6 +12,7 @@ in
|
||||||
nixpkgs.hostPlatform = "aarch64-linux";
|
nixpkgs.hostPlatform = "aarch64-linux";
|
||||||
networking.hostName = "kalessin";
|
networking.hostName = "kalessin";
|
||||||
networking.hostId = "534b538e";
|
networking.hostId = "534b538e";
|
||||||
|
networking.domain = "birdsong.network";
|
||||||
|
|
||||||
fountain.users.qenya.enable = true;
|
fountain.users.qenya.enable = true;
|
||||||
users.users.qenya.extraGroups = [ "wheel" ];
|
users.users.qenya.extraGroups = [ "wheel" ];
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
nixpkgs.hostPlatform = "x86_64-linux";
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||||||
networking.hostName = "orm";
|
networking.hostName = "orm";
|
||||||
networking.hostId = "00000000";
|
networking.hostId = "00000000";
|
||||||
|
networking.domain = "birdsong.network";
|
||||||
|
|
||||||
fountain.users.qenya.enable = true;
|
fountain.users.qenya.enable = true;
|
||||||
users.users.qenya.extraGroups = [ "wheel" ];
|
users.users.qenya.extraGroups = [ "wheel" ];
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
networking.hostName = "yevaud";
|
networking.hostName = "yevaud";
|
||||||
networking.hostId = "09673d65";
|
networking.hostId = "09673d65";
|
||||||
|
networking.domain = "birdsong.network";
|
||||||
|
|
||||||
fountain.users.qenya.enable = true;
|
fountain.users.qenya.enable = true;
|
||||||
users.users.qenya.extraGroups = [ "wheel" ];
|
users.users.qenya.extraGroups = [ "wheel" ];
|
||||||
|
|
Loading…
Reference in a new issue