mirror of
https://github.com/nikdoof/nixos-config.git
synced 2025-12-13 17:52:24 +00:00
First attempt at splitting out common config items
This commit is contained in:
19
users.nix
Normal file
19
users.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user