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 = ""; xkbVariant = "";
}; };
users = {
defaultUserShell = pkgs.nushell;
users.notoh = {
isNormalUser = true;
description = "notoh";
extraGroups = ["networkmanager" "wheel" "docker"];
};
};
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;

View file

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

View file

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

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./security.nix ./security.nix
./networking.nix ./networking.nix
./users.nix
./nix.nix ./nix.nix
./system.nix ./system.nix
./openssh.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"
];
};
};
}