diff --git a/hosts/prbuilder/configuration.nix b/hosts/prbuilder/configuration.nix index 5599f8fb..1656eb68 100644 --- a/hosts/prbuilder/configuration.nix +++ b/hosts/prbuilder/configuration.nix @@ -23,6 +23,7 @@ user-karim user-tervis user-barna + user-mika ]) ./disk-config.nix ]; diff --git a/users/default.nix b/users/default.nix index a124f54e..4fd518d5 100644 --- a/users/default.nix +++ b/users/default.nix @@ -15,5 +15,6 @@ user-themisto = import ./themisto.nix; user-tervis = import ./tervis.nix; user-barna = import ./barna.nix; + user-mika = import ./mika.nix; }; } diff --git a/users/mika.nix b/users/mika.nix new file mode 100644 index 00000000..49189ee0 --- /dev/null +++ b/users/mika.nix @@ -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"]; + }; + }; +}