minor improvements
This commit is contained in:
parent
be2326ded0
commit
1ea5aeab92
5 changed files with 5 additions and 11 deletions
|
|
@ -101,13 +101,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
lib.listToAttrs (
|
lib.listToAttrs (map mkDesktop var.desktops)
|
||||||
map mkDesktop [
|
|
||||||
"solo"
|
|
||||||
"c2"
|
|
||||||
"fw"
|
|
||||||
]
|
|
||||||
)
|
|
||||||
// {
|
// {
|
||||||
"test-vm" = nixpkgs.lib.nixosSystem {
|
"test-vm" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ in
|
||||||
firewall.allowedUDPPorts = [ wireguard-port ];
|
firewall.allowedUDPPorts = [ wireguard-port ];
|
||||||
|
|
||||||
localCommands = ''
|
localCommands = ''
|
||||||
ip route add default dev mullvad table 1000
|
ip route replace default dev mullvad table 1000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
wireguard = {
|
wireguard = {
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ in
|
||||||
|
|
||||||
services.nginx.privateVirtualHosts."qbt.lan" = {
|
services.nginx.privateVirtualHosts."qbt.lan" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://192.168.100.11:8080";
|
proxyPass = "http://${containerIp}:8080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ let
|
||||||
mkOption {
|
mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = of;
|
default = of;
|
||||||
description = "Enables" ++ name;
|
description = "Enables " + name;
|
||||||
};
|
};
|
||||||
mkDesktopOption = mkSubOption config.hd.desktop.enable;
|
mkDesktopOption = mkSubOption config.hd.desktop.enable;
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ lib.mkIf config.hd.desktop.syncthing.enable {
|
||||||
path = "/home/hd/Sync";
|
path = "/home/hd/Sync";
|
||||||
type = "sendreceive";
|
type = "sendreceive";
|
||||||
};
|
};
|
||||||
supernote-note = rec {
|
supernote-note = {
|
||||||
id = "supernote-note";
|
id = "supernote-note";
|
||||||
path = "/home/hd/Sync/Dokumente/Supernote/Notizen";
|
path = "/home/hd/Sync/Dokumente/Supernote/Notizen";
|
||||||
type = "sendreceive";
|
type = "sendreceive";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue