add user in default . nix x
This commit is contained in:
parent
5bab9d869d
commit
7e08fe65a4
2 changed files with 5 additions and 7 deletions
|
@ -78,6 +78,11 @@
|
|||
# already sold soul to corporations \_o_/
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
users.users.sako = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "networkmanager"]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.sako = {pkgs, ...}: {
|
||||
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!
|
||||
|
|
|
@ -97,13 +97,6 @@
|
|||
# Enable CUPS to print documents.
|
||||
# services.printing.enable = true;
|
||||
|
||||
# TODO(sako):: put this in different files
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.sako = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "networkmanager"]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
|
|
Loading…
Reference in a new issue