nixos/system/users.nix

33 lines
698 B
Nix
Raw Normal View History

2024-02-27 21:20:00 +00:00
{ pkgs, ... }:
2024-02-27 04:07:03 +00:00
{
2024-02-27 08:33:38 +00:00
programs.zsh.enable = true;
environment.shells = with pkgs; [ zsh ];
2024-02-27 04:07:03 +00:00
# Setup torjus user
users.users.torjus = {
isNormalUser = true;
2024-03-01 12:36:31 +00:00
initialPassword = "password";
2024-02-27 04:07:03 +00:00
home = "/home/torjus";
description = "Torjus";
2024-02-27 08:33:38 +00:00
shell = pkgs.zsh;
2024-02-27 04:07:03 +00:00
extraGroups = [ "wheel" "networkmanager" ];
# Install some user packages
packages = with pkgs; [
];
};
2024-03-03 12:06:22 +00:00
users.users.steam = {
isNormalUser = true;
initialPassword = "steam";
home = "/home/steam";
description = "Steam user";
shell = pkgs.zsh;
extraGroups = [ "networkmanager" ];
# Install some user packages
packages = with pkgs; [
steam
steamcmd
];
};
2024-02-27 04:07:03 +00:00
}