Skip to content

Commit

Permalink
add mika as a user (tiiuae#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
karim20230 authored and fayad committed Oct 2, 2024
1 parent ae9f1d2 commit a785be8
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 @@ -23,6 +23,7 @@
user-karim
user-tervis
user-barna
user-mika
])
./disk-config.nix
];
Expand Down
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-themisto = import ./themisto.nix;
user-tervis = import ./tervis.nix;
user-barna = import ./barna.nix;
user-mika = import ./mika.nix;
};
}
14 changes: 14 additions & 0 deletions users/mika.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 = {
mika = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKoroafXsrWkoLewJ7EYcHodqlYILV2T8xtRo6RL99vz mika@nixos"
];
extraGroups = ["wheel" "networkmanager" "docker"];
};
};
}

0 comments on commit a785be8

Please sign in to comment.