users: Added arc

This commit is contained in:
kat witch 2021-05-04 14:38:32 +01:00
parent 7d701506ce
commit 3f04a6b4be
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 18 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [ ./nixos ];
imports = [ ./nixos ../../users ];
config = { home-manager.users.kat = { imports = [ ./home.nix ]; }; };
}

12
users/arc/default.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
users.users.arc = {
uid = 1001;
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ8Z6briIboxIdedPGObEWB6QEQkvxKvnMW/UVU9t/ac mew-pgp"
];
shell = pkgs.zsh;
};
}

5
users/default.nix Normal file
View file

@ -0,0 +1,5 @@
{ ... }:
{
imports = [ ./arc ];
}