aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-27 09:16:13 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-27 09:16:13 -0700
commitcdda8b0ac283e2ded2e8c330e85bcc93003177bc (patch)
tree34690b903c9b14098a98b6944612a3655ed8b62f /hosts
parentprometheus: stop scraping the NAS (diff)
downloadinfra-cdda8b0ac283e2ded2e8c330e85bcc93003177bc.tar.gz
nas: install music-organizer
Diffstat (limited to 'hosts')
-rw-r--r--hosts/profiles/nas.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/hosts/profiles/nas.nix b/hosts/profiles/nas.nix
index 10ba67c..314b405 100644
--- a/hosts/profiles/nas.nix
+++ b/hosts/profiles/nas.nix
@@ -1,6 +1,6 @@
-{ config, pkgs, lib, ... }:
-
-{
+{ inputs, config, pkgs, lib, ... }:
+let music-organizer = inputs.mytools.music-organizer.${pkgs.system};
+in {
imports = [
# other profiles
./server.nix
@@ -14,6 +14,8 @@
../common/server/rclone.nix
];
+ environment.systemPackages = with pkgs; [ music-organizer ];
+
users.groups.nas.gid = 5000;
users.users.nas = {
uid = 5000;