Files
matrix/nix/users/users.nix
2025-10-26 15:14:34 +01:00

32 lines
762 B
Nix

{ config, pkgs, inputs, ... }:
{
# Define user accounts
users.defaultUserShell = pkgs.zsh;
users.users.neo = {
isNormalUser = true;
description = "Neovim only user";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [ ];
openssh.authorizedKeys.keyFiles = [
./keys/neo.pub
];
};
users.users.morpheus = {
isNormalUser = true;
description = "Insert joke here";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [ ];
};
users.users.trinity = {
isNormalUser = true;
description = "Named after an atom bomb test";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
packages = with pkgs; [ ];
};
}