mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
20 lines
374 B
Nix
20 lines
374 B
Nix
{ pkgs
|
|
, config
|
|
, lib
|
|
, inputs
|
|
, ...
|
|
}:
|
|
let
|
|
cfg = config.kp2pml30;
|
|
in {
|
|
users.users.${cfg.username} = {
|
|
isNormalUser = true;
|
|
extraGroups = [
|
|
"wheel" # sudo
|
|
"networkmanager"
|
|
"dialout" "uucp" # esp32
|
|
];
|
|
shell = pkgs.fish;
|
|
hashedPassword = "$6$UK6oHr2gPRYD4Rak$lgF.mYReC0jahNuI4kt0j/CsrajVzMprvp3HgjKwwsjYHU6/Ur9jfROXZbKhhpyCLRmnlCpWeRCbHEYO/jhIv/";
|
|
};
|
|
}
|