Setup users.

This commit is contained in:
jay
2025-06-29 07:46:05 -04:00
parent 43bf595e24
commit 6d72104640
3 changed files with 12 additions and 9 deletions

View File

@@ -13,6 +13,7 @@
./system/bluetooth.nix
./system/locale.nix
./system/time.nix
./system/users.nix
];
nixpkgs = {

View File

@@ -0,0 +1,11 @@
{ config, ... }: {
# Define a user account. Don't forget to set a password with passwd.
users.users.jay = {
isNormalUser = true;
description = "jay";
#hashedPasswordFile = config.sops.secrets.password_hash.path;
hashedPassword = "$6$RTOXVXRP1iLIXnQb$rVtTeqlJ7g3AcZgftmVdKFnT2ggCsnVayPlT4beLST9Oz2LHGT2fdcOC/yaQkISK3wzFLqh47fSHgQvRUWpl41";
extraGroups = [ "networkmanager" "wheel" ];
};
}

View File

@@ -41,15 +41,6 @@
# Enable touchpad support (enabled default in most desktopManager).
services.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.jay = {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ]; # Enable sudo for the user.
packages = with pkgs; [
tree
];
};
# List packages installed in system profile.
# You can use https://search.nixos.org/ to find more packages (and options).
# environment.systemPackages = with pkgs; [