Initial commit
This commit is contained in:
commit
e886de58af
23 changed files with 926 additions and 0 deletions
20
modules/user.nix
Normal file
20
modules/user.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue