Skip to content

Commit

Permalink
Add kai as admin user to build3
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Rautiola <joonas.rautiola@unikie.com>
  • Loading branch information
joinemm committed Feb 2, 2024
1 parent a08969f commit 3e36b2e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hosts/ficolobuild/build3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
imports = lib.flatten [
(with self.nixosModules; [
user-themisto
user-ktu
])
./builder.nix
./developers.nix
Expand All @@ -20,6 +21,6 @@

# Trust Themisto Hydra user
nix.settings = {
trusted-users = ["root" "themisto"];
trusted-users = ["root" "themisto" "@wheel"];
};
}
1 change: 1 addition & 0 deletions users/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
user-tervis = import ./tervis.nix;
user-barna = import ./barna.nix;
user-mika = import ./mika.nix;
user-ktu = import ./ktu.nix;
};
}
14 changes: 14 additions & 0 deletions users/ktu.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2024 Technology Innovation Institute (TII)
#
# SPDX-License-Identifier: Apache-2.0
{
users.users = {
ktu = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBeMFr++WulL/hQKejDnE1ePRQscLp7LvLAy/DyLW4AU ktu@nixos"
];
extraGroups = ["wheel" "networkmanager"];
};
};
}

0 comments on commit 3e36b2e

Please sign in to comment.