refactor into modules
This commit is contained in:
16
nixos/modules/users.nix
Normal file
16
nixos/modules/users.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
users.groups.plugdev = {};
|
||||
|
||||
users.users.lusia = {
|
||||
isNormalUser = true;
|
||||
description = "Lukrecja";
|
||||
extraGroups = [ "wheel" "networkmanager" "docker" "plugdev" "scanner" "lp" "wireshark" "libvirtd" "kvm" "vboxusers" "dialout" ];
|
||||
initialPassword = "pass";
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
programs.fish.enable = true;
|
||||
security.sudo.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user