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