Skip to content

Commit

Permalink
feat: damogran +minidlna
Browse files Browse the repository at this point in the history
  • Loading branch information
voobscout committed Sep 27, 2024
1 parent 9b1e87b commit 37b4423
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cells/nixos/hosts/damogran/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ rec {
bee.home.nixosModules.home-manager
(import ./_hardwareProfile.nix { inherit inputs cell; })

cell.nixosProfiles.services.minidlna

({ pkgs, ... }:
{
systemd.network.networks.local-eth.matchConfig.Name = "end0";
Expand Down
11 changes: 11 additions & 0 deletions cells/nixos/nixosProfiles/services/minidlna.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ inputs, cell, ... }:

{ ... }:

{
services.minidlna.enable = true;
services.minidlna.openFirewall = true;
services.minidlna.settings.mediaDirs = [ "/opt/media" ];
services.minidlna.settings.friendly_name = "dacha";
services.minidlna.settings.inotify = "yes";
}

0 comments on commit 37b4423

Please sign in to comment.