Adding users

This commit is contained in:
Julia Lange 2025-11-17 16:16:39 -08:00
parent 823c6d0738
commit bcb09055f8
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
9 changed files with 120 additions and 735 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, hostname, usernameList, ... }:
{ config, pkgs, lib, ... }:
{
options.system = {
@ -22,7 +22,6 @@
boot.loader.efi.canTouchEfiVariables = true;
})
{
networking.hostName = hostname;
system.stateVersion = lib.mkDefault "23.05";
time.timeZone = config.system.timezone;
@ -39,24 +38,24 @@
# XDG Compliance
nix.settings.use-xdg-base-directories = true;
users = {
users = builtins.listToAttrs (map (
user: {
name = user;
value = {
name = user;
isNormalUser = true;
extraGroups = [ "network" ];
};
}
) usernameList);
groups = {
wheel = {
members = config.system.users.bigWheels;
};
network = { };
};
};
# users = {
# users = builtins.listToAttrs (map (
# user: {
# name = user;
# value = {
# name = user;
# isNormalUser = true;
# extraGroups = [ "network" ];
# };
# }
# ) usernameList);
# groups = {
# wheel = {
# members = config.system.users.bigWheels;
# };
# network = { };
# };
# };
fonts = {
enableDefaultPackages = true;