added NxACE (untested)

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-04 12:10:42 +02:00
parent c202666c0d
commit 66ef004344
433 changed files with 462 additions and 51424 deletions

View File

@@ -1,14 +1,21 @@
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
{ config, pkgs, lib, system, host, user, allowed, secrets, ... }:
{
users.defaultUserShell = pkgs.bash; # if interactive, itll switch to fish
users.users.nx2 = {
users.users."${user}" = {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" "audio" "video" "docker" "libvirtd" "uinput" ];
useDefaultShell = true;
packages = with pkgs; []; # all in home.nix
};
users.users.tv = lib.mkIf (host == "NxACE") {
isNormalUser = true;
extraGroups = [ "networkmanager" "audio" "video" "uinput" ];
useDefaultShell = true;
packages = with pkgs; []; # all in home.nix
};
programs = {
bash = {
@@ -21,4 +28,4 @@
'';
};
};
}
}