moved
This commit is contained in:
parent
de4b14a35d
commit
37346c49e0
23 changed files with 12 additions and 39 deletions
21
hosts/modules/user.nix
Normal file
21
hosts/modules/user.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue