Update users.nix

This commit is contained in:
ediblerope 2026-01-09 13:07:18 +00:00 committed by GitHub
parent a6c4e2b77b
commit 2e646d3054
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,8 +2,9 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
# Define a user account. Don't forget to set a password with passwd. config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) {
users.users.fred = { # Define a user account. Don't forget to set a password with 'passwd'.
users.users.fred = {
isNormalUser = true; isNormalUser = true;
description = "fred"; description = "fred";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
@ -12,4 +13,5 @@ users.users.fred = {
fastfetch fastfetch
]; ];
}; };
};
} }