mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 23:23:55 -05:00
17 lines
353 B
Nix
17 lines
353 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;
|
||
|
};
|
||
|
};
|
||
|
}
|