rearrange files

This commit is contained in:
Katherina Walshe-Grey 2024-07-09 18:14:33 +01:00
parent 18bc4afc65
commit 39c1bc664c
4 changed files with 18 additions and 7 deletions

29
common/users/qenya.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, lib, pkgs, ... }:
let keys = import ../../keys.nix;
in
{
users.users.qenya = {
isNormalUser = true;
home = "/home/qenya";
extraGroups = [
"wheel" # sudo
"networkmanager" # UI wifi configuration
"dialout" # access to serial ports
];
openssh.authorizedKeys.keys = keys.users.qenya;
uid = 1001;
};
home-manager.users.qenya = { config, lib, pkgs, osConfig, ... }: {
home.homeDirectory = osConfig.users.users.qenya.home;
programs.git = {
enable = true;
userName = "Katherina Walshe-Grey";
userEmail = "git@qenya.tel";
};
home.stateVersion = "23.11";
};
}