modules: init users.nix

This commit is contained in:
notohh 2023-05-17 12:54:50 -04:00
parent 0335c53e89
commit 8fe1513e50
Signed by: notohh
GPG key ID: BD47506D475EE86D
5 changed files with 24 additions and 28 deletions

View file

@ -27,15 +27,6 @@
xkbVariant = "";
};
users = {
defaultUserShell = pkgs.nushell;
users.notoh = {
isNormalUser = true;
description = "notoh";
extraGroups = ["networkmanager" "wheel" "docker"];
};
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;

View file

@ -27,16 +27,7 @@
xkbVariant = "";
};
users = {
defaultUserShell = pkgs.nushell;
users.notoh = {
isNormalUser = true;
description = "notoh";
extraGroups = ["networkmanager" "wheel" "docker"];
};
};
programs.gnupg.agent = {
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryFlavor = "curses";

View file

@ -88,14 +88,6 @@
daemon.enable = true;
};
};
users = {
defaultUserShell = pkgs.nushell;
users.notoh = {
isNormalUser = true;
description = "notoh";
extraGroups = ["networkmanager" "wheel" "disk" "video"];
};
};
environment.systemPackages = with pkgs; [
wget

View file

@ -2,6 +2,7 @@
imports = [
./security.nix
./networking.nix
./users.nix
./nix.nix
./system.nix
./openssh.nix

21
modules/users.nix Normal file
View file

@ -0,0 +1,21 @@
{
pkgs,
...
}: {
users = {
defaultUserShell = pkgs.nushell;
users.notoh = {
isNormalUser = true;
description = "notoh";
extraGroups = [
"networkmanager"
"wheel"
"disk"
"video"
"docker"
];
};
};
}