aboutsummaryrefslogblamecommitdiffstats
path: root/nixos/user.nix
blob: 00d4efe9145d3d3ff57d75430dce32bd12571a84 (plain) (tree)
























                                                                                                   
{pkgs, ...}: {
  users.users = {
    root = {
      # inherit initialHashedPassword;
      hashedPasswordFile = "/persist/passwordFiles/root";
    };

    grm = {
      # inherit initialHashedPassword;
      hashedPasswordFile = "/persist/passwordFiles/grm";
      description = "grm";
      isNormalUser = true;
      extraGroups = ["wheel" "audio" "docker" "networkmanager"];
    };
  };

  # Don't allow mutation of users outside of the config.
  users.mutableUsers = false;

  # programs.steam = {
  #   enable = true;
  #   remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
  #   dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
  # };
}