1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-05-02 03:39:32 +00:00
This commit is contained in:
Rae 5e 2025-03-06 23:27:26 -05:00
parent c776596f61
commit 54743f562a
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
4 changed files with 16 additions and 14 deletions

View file

@ -1,7 +1,5 @@
# Auto-generated using compose2nix v0.3.1.
{ pkgs, lib, ... }:
{
{ pkgs, lib, ... }: {
# Runtime
virtualisation.docker = {
enable = true;

View file

@ -20,16 +20,17 @@ in {
};
};
config = {
inherit (./compose.nix);
environment.etc = lib.mkIf cfg.enable {
"homepage-dashboard/settings.yaml".source = settingsFormat.generate "settings.yaml" cfg.settings;
"homepage-dashboard/widgets.yaml".source = settingsFormat.generate "widgets.yaml" cfg.widgets;
};
config = lib.mkMerge [
(import ./compose.nix { inherit pkgs lib; })
{
environment.etc = lib.mkIf cfg.enable {
"homepage-dashboard/settings.yaml".source = settingsFormat.generate "settings.yaml" cfg.settings;
"homepage-dashboard/widgets.yaml".source = settingsFormat.generate "widgets.yaml" cfg.widgets;
};
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 3000 ];
};
};
networking.firewall = lib.mkIf cfg.openFirewall {
allowedTCPPorts = [ 3000 ];
};
}
];
}