-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate machine specific x86 builder configuration from the common one
Changes: - adds build3 (x86 builder on Ficolo) specific configuration - adds Barna as a trusted user to build3 specific configuration - hostname of build3 machine changed from "nixos" to "build3" Notes: - Hostname change will not take place without running the hostname tool or without reboot Signed-off-by: Marko Kaapu <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# SPDX-FileCopyrightText: 2023-2024 Technology Innovation Institute (TII) | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
{ | ||
self, | ||
lib, | ||
... | ||
}: { | ||
imports = lib.flatten [ | ||
(with self.nixosModules; [ | ||
user-themisto | ||
user-barna | ||
]) | ||
./builder.nix | ||
]; | ||
|
||
# build3 specific configuration | ||
|
||
networking.hostName = "build3"; | ||
|
||
# Trust Themisto Hydra user | ||
nix.settings = { | ||
trusted-users = ["root" "themisto" "barna"]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters