weilite: switch to dae in network module
This commit is contained in:
parent
6286be8057
commit
c4837931d0
2 changed files with 8 additions and 6 deletions
|
@ -39,6 +39,7 @@
|
|||
enable = true;
|
||||
};
|
||||
comin.enable = true;
|
||||
network.localdns.enable = true;
|
||||
};
|
||||
node = {
|
||||
mediaDir = "/mnt/nixos/media";
|
||||
|
@ -102,7 +103,7 @@
|
|||
type = "virtiofs";
|
||||
options = "rw,nodev,nosuid";
|
||||
}
|
||||
{
|
||||
{
|
||||
what = "originals";
|
||||
where = "/mnt/photos/xin/originals";
|
||||
type = "virtiofs";
|
||||
|
@ -148,11 +149,6 @@
|
|||
2222
|
||||
];
|
||||
|
||||
services.dae = {
|
||||
enable = true;
|
||||
configFile = "/var/lib/dae/config.dae";
|
||||
};
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
|
@ -25,6 +25,12 @@ in
|
|||
useLocalResolver = true;
|
||||
};
|
||||
|
||||
services.resolved.enable = mkIf cfg.localdns.enable false;
|
||||
|
||||
services.tailscale = mkIf cfg.localdns.enable {
|
||||
extraUpFlags = [ "--accept-dns=false" ];
|
||||
};
|
||||
|
||||
services.kresd = mkIf cfg.localdns.enable {
|
||||
enable = true;
|
||||
listenPlain = [ "127.0.0.1:53" ];
|
||||
|
|
Loading…
Add table
Reference in a new issue