minor improvements

This commit is contained in:
Henri Dohmen 2026-04-04 15:00:10 +02:00
parent be2326ded0
commit 1ea5aeab92
5 changed files with 5 additions and 11 deletions

View file

@ -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";

View file

@ -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 = {

View file

@ -24,7 +24,7 @@ in
services.nginx.privateVirtualHosts."qbt.lan" = {
locations."/" = {
proxyPass = "http://192.168.100.11:8080";
proxyPass = "http://${containerIp}:8080";
};
};

View file

@ -10,7 +10,7 @@ let
mkOption {
type = types.bool;
default = of;
description = "Enables" ++ name;
description = "Enables " + name;
};
mkDesktopOption = mkSubOption config.hd.desktop.enable;
in

View file

@ -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";