nixos/settings/users.nix

18 lines
433 B
Nix
Raw Normal View History

2025-12-03 16:14:51 +00:00
# users.nix
{ config, pkgs, lib, ... }:
{
2026-01-20 12:36:44 +00:00
config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" "FredOS-Mediaserver" ]) {
2026-01-09 13:07:18 +00:00
# Define a user account. Don't forget to set a password with 'passwd'.
users.users.fred = {
isNormalUser = true;
description = "fred";
2026-01-21 22:49:21 +00:00
extraGroups = [ "networkmanager" "wheel" "docker" ];
2026-01-09 13:07:18 +00:00
packages = with pkgs; [
bazaar
fastfetch
];
};
};
2025-12-03 16:14:51 +00:00
}