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