Compare commits

..

2 Commits

1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,8 @@ in
services.openssh.forwardX11 = true;
programs.mosh.enable = true;
programs.fish.enable = true;
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 631 5901 80 443 ];
networking.firewall.allowedUDPPorts = [ 631 ];
@ -74,6 +76,7 @@ in
users.extraUsers.sb = {
isNormalUser = true;
extraGroups = ["wheel" "plugdev" "dialout" "lp" "scanner" "wireshark" "docker"];
shell = pkgs.fish;
};
users.extraUsers.rj = {
isNormalUser = true;
@ -284,6 +287,9 @@ ACTION=="add", SUBSYSTEM=="tty", \
locations."/artiq".extraConfig = ''
return 301 /experiment-control/artiq/;
'';
locations."/artiq/resources.html".extraConfig = ''
return 301 /experiment-control/resources/;
'';
# autogenerated ARTIQ manuals
locations."/artiq/manual-beta" = {