mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 07:29:17 -05:00
18 lines
371 B
Nix
18 lines
371 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.alyraffauf.users.morgan.enable {
|
|
users.users.morgan = {
|
|
description = "Morgan Tamayo";
|
|
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
|
|
hashedPassword = config.alyraffauf.users.morgan.password;
|
|
isNormalUser = true;
|
|
uid = 1002;
|
|
};
|
|
};
|
|
}
|