$ nix build github:daeuniverse/flake.nix#packages.x86_64-linux.dae
Modify flake.nix
# flake.nix
{
inputs.daeuniverse.url = "github:daeuniverse/flake.nix";
# ...
outputs = {nixpkgs, ...} @ inputs: {
nixosConfigurations.HOSTNAME = nixpkgs.lib.nixosSystem {
modules = [
inputs.daeuniverse.nixosModules.dae
];
};
}
}
# configuration.nix
{inputs, pkgs, ...}: {
services.dae = {
enable = true;
disableTxChecksumIpGeneric = false;
configFile = "/etc/dae/config.dae";
assets = with pkgs; [ v2ray-geoip v2ray-domain-list-community ];
openFirewall = {
enable = true;
port = 12345;
};
};
}
# use packages
#...
environment.systemPackages =
with inputs.daeuniverse.packages.x86_64-linux;
[ dae daed ];
ISC © 2023 daeuniverse