nix-dotfiles/modules/user.nix
2025-03-13 14:50:27 -06:00

20 lines
472 B
Nix

{ config, pkgs, lib, ... }:
{
# Define a user account. Don't forget to set a password with 'passwd'.
users.users.cobray = {
isNormalUser = true;
description = "Mon Aie";
extraGroups = [ "networkmanager" "wheel" "docker" "video" ];
shell = pkgs.fish;
packages = with pkgs; [
# User-specific packages can be defined here
# or through home-manager
];
};
security.sudo = {
enable = true;
wheelNeedsPassword = true;
};
}