Skip to content

Commit

Permalink
fixup! refactor(specialArgs,nixosConfigurations/*): use config.passthru
Browse files Browse the repository at this point in the history
  • Loading branch information
steveej committed Oct 4, 2024
1 parent b22f5fc commit 7d95a86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,19 @@
(self + "/modules/nixos/shared-monitoring-clients.nix")
];

networking.hostName = "linux-builder-01"; # Define your hostname.
passthru = {
fqdn = "${config.passthru.hostName}.${config.passthru.domain}";

hostName = "95.217.193.35";
domain = self.specialArgs.infraDomain;
hostName = "linux-builder-01"; # Define your hostname.

primaryIpv4 = "95.217.193.35";
};

networking = {
inherit (config.passthru) hostName domain;
};
hostName = config.passthru.primaryIpv4;

nix.settings.max-jobs = 32;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
primaryIpv4 = "65.108.241.120";
};

networking.hostName = {
networking = {
inherit (config.passthru) hostName domain;
}; # Define your hostname.
};
hostName = "${config.passthru.primaryIpv4}";

nix.settings.max-jobs = 8;
Expand Down

0 comments on commit 7d95a86

Please sign in to comment.