Compare commits
3 Commits
aa038520e9
...
816ead8b96
Author | SHA1 | Date |
---|---|---|
Sebastien Bourdeauducq | 816ead8b96 | |
Sebastien Bourdeauducq | 87a664721b | |
Sebastien Bourdeauducq | 7487560b10 |
|
@ -38,6 +38,7 @@
|
|||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
# programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||
programs.wireshark.enable = true;
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
|
@ -67,14 +68,19 @@
|
|||
users.extraGroups.plugdev = { };
|
||||
users.extraUsers.sb = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "plugdev" "dialout" "lp" "scanner"];
|
||||
extraGroups = ["wheel" "plugdev" "dialout" "lp" "scanner" "wireshark"];
|
||||
uid = 1000;
|
||||
};
|
||||
users.extraUsers.rj = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "plugdev" "dialout"];
|
||||
extraGroups = ["wheel" "plugdev" "dialout" "wireshark"];
|
||||
uid = 1002;
|
||||
};
|
||||
users.extraUsers.astro = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["plugdev" "dialout" "wireshark"];
|
||||
uid = 1003;
|
||||
};
|
||||
users.extraUsers.nix = {
|
||||
isNormalUser = true;
|
||||
uid = 1001;
|
||||
|
@ -162,6 +168,8 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||
"nixbld.m-labs.hk" = {
|
||||
webroot = "/var/lib/acme/acme-challenge";
|
||||
extraDomains = {
|
||||
"m-labs.hk" = null;
|
||||
"www.m-labs.hk" = null;
|
||||
"buildbot.m-labs.hk" = null;
|
||||
"lab.m-labs.hk" = null;
|
||||
"git.m-labs.hk" = null;
|
||||
|
@ -173,6 +181,16 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
|||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"m-labs.hk" = {
|
||||
addSSL = true;
|
||||
useACMEHost = "nixbld.m-labs.hk";
|
||||
root = "/var/www/m-labs.hk";
|
||||
};
|
||||
"www.m-labs.hk" = {
|
||||
addSSL = true;
|
||||
useACMEHost = "nixbld.m-labs.hk";
|
||||
root = "/var/www/m-labs.hk";
|
||||
};
|
||||
"buildbot.m-labs.hk" = {
|
||||
addSSL = true;
|
||||
useACMEHost = "nixbld.m-labs.hk";
|
||||
|
|
Loading…
Reference in New Issue