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,14 +2,16 @@
{ 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'.
isNormalUser = true; users.users.fred = {
description = "fred"; isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ]; description = "fred";
packages = with pkgs; [ extraGroups = [ "networkmanager" "wheel" ];
bazaar packages = with pkgs; [
fastfetch bazaar
]; fastfetch
}; ];
};
};
} }