Skip to content

Commit

Permalink
Add Barna as a user and grant access to the PRbuilder host
Browse files Browse the repository at this point in the history
Signed-off-by: karim mdmirajul <[email protected]>
  • Loading branch information
karim20230 committed Dec 20, 2023
1 parent 7f88348 commit e5cbb81
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions hosts/prbuilder/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
user-cazfi
user-karim
user-tervis
user-barna
])
./disk-config.nix
];
Expand Down
14 changes: 14 additions & 0 deletions users/barna.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: 2023 Technology Innovation Institute (TII)
#
# SPDX-License-Identifier: Apache-2.0
{
users.users = {
barna = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQChDMYWXg51H1/3Y3fGb8Bn6Dj1jauzKKsPdtRjFHTWSCde4GmF1/uPUJ9qogLNBS2B0nDS+IxnNNIKWarZhkb1aHvWHBy1n1s4gULwCZcF36yaFfKKCIfro+YI1/1uOZuv/AtVLzAgFlgUb21xLF9m11yuobB6OqSd9Fxt8i2AdfwVuj1fxyRlI+l5v82g0d3KiN0Pw+FqtzIZ6sEcpw8Mqn469PIDARUmYxo7mRMug8QPmQPgv57YhbppLN6cHUbYlud/2UeESUFsXrCAMDLtghvkNlAlmriaqhlVoH3jTLJ8ljIbHeFrBidZZk1/e7Ucw8iLkesQ11YrAY0QqqyH6vRr/o0XHiCbnxJl7rH9AC8tguqgFR/K2T8qygJZfs1szaOQg/+O7tdqwU8+j2NDSuh+PjYGnMOIT11ErtAYB2DAd8xVYOOWCsLeHVoiC1jgkVjehkV4wmwmq3d7X5iyuK7n4zJTEIqDzbrfshUnpL9ERe7zlFaocqUVedn1DDU= [email protected]"
];
extraGroups = ["wheel" "networkmanager"];
};
};
}
1 change: 1 addition & 0 deletions users/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
user-karim = import ./karim.nix;
user-themisto = import ./themisto.nix;
user-tervis = import ./tervis.nix;
user-barna = import ./barna.nix;
};
}

0 comments on commit e5cbb81

Please sign in to comment.