mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 22:43:55 -05:00
17 lines
354 B
Nix
17 lines
354 B
Nix
|
{
|
||
|
inputs,
|
||
|
pkgs,
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: {
|
||
|
config = lib.mkIf config.alyraffauf.users.dustin.enable {
|
||
|
users.users.dustin = {
|
||
|
description = "Dustin Raffauf";
|
||
|
extraGroups = ["networkmanager" "wheel" "docker" "libvirtd" "video"];
|
||
|
hashedPassword = config.alyraffauf.users.dustin.password;
|
||
|
isNormalUser = true;
|
||
|
};
|
||
|
};
|
||
|
}
|