First attempt at splitting out common config items

This commit is contained in:
2024-03-27 21:23:45 +00:00
parent c0e7c705d9
commit e8e42fb163
3 changed files with 37 additions and 25 deletions

19
users.nix Normal file
View File

@@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
{
users = {
defaultUserShell = pkgs.zsh;
users.nikdoof = {
isNormalUser = true;
extraGroups =
[
"wheel"
"video"
];
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHWO2qwHaPaQs46na4Aa6gMkw5QqRHUMGQphtgAcDJOw"
];
};
};
}