From 814a495e9c74e3211c6b6640397111115832207b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Apr 2022 14:52:00 -0700 Subject: create a new role for navidrome Apply the role to tahoe. --- hosts/tahoe/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts/tahoe') diff --git a/hosts/tahoe/default.nix b/hosts/tahoe/default.nix index 5a746dd..9e41ed2 100644 --- a/hosts/tahoe/default.nix +++ b/hosts/tahoe/default.nix @@ -1,6 +1,6 @@ { config, pkgs, hostname, ... }: - -{ +let my = import ../roles; +in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../profiles/nas.nix @@ -25,6 +25,8 @@ }; }; + my.roles = { music-server.enable = true; }; + networking.private-wireguard.enable = true; networking.firewall.enable = false; -- cgit v1.2.3