This commit is contained in:
alsaiduq-lab 2025-06-30 21:21:44 -06:00
parent de4b14a35d
commit 37346c49e0
23 changed files with 12 additions and 39 deletions

21
hosts/modules/user.nix Normal file
View file

@ -0,0 +1,21 @@
{pkgs, ...}: let
fish-rust = pkgs.callPackage ../pkgs/fish-rust {};
in {
# 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.bash;
};
security.sudo = {
enable = true;
wheelNeedsPassword = true;
};
programs.fish = {
enable = true;
package = fish-rust;
};
}