feat: Use nixpkgs dae module instead of dae/flake

This commit is contained in:
ulic-youthlic 2025-10-28 23:22:41 +08:00
parent d187a67afe
commit 1e6d5fbe02
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 9 additions and 48 deletions

View file

@ -1,6 +1,6 @@
include {
proxy.d/*.dae
local.d/*.dae
proxy.d_*.dae
local.d_*.dae
}
global {

View file

@ -18,13 +18,12 @@ in
(lib.mkIf cfg.enable {
services.dae = {
enable = true;
package = pkgs.dae;
openFirewall = {
enable = true;
port = 12345;
};
disableTxChecksumIpGeneric = false;
config = builtins.readFile ./config.dae;
configFile = toString ./config.dae;
};
sops.secrets.url = {
mode = "0444";
@ -125,6 +124,12 @@ in
];
};
};
dae = {
serviceConfig.LoadCredential = [
"proxy.d:/etc/dae/proxy.d"
"local.d:/etc/dae/local.d"
];
};
};
})
(lib.mkIf (cfg.enable && config.youthlic.programs.juicity.client.enable) {

View file

@ -7,7 +7,6 @@
{
imports = with inputs; [
home-manager.nixosModules.home-manager
dae.nixosModules.dae
sops-nix.nixosModules.sops
stylix.nixosModules.stylix
disko.nixosModules.disko