18 lines
373 B
Nix
18 lines
373 B
Nix
{ inputs, pkgs, ... }:
|
|
let
|
|
pkg = inputs.audio-scripts.packages.${pkgs.system}.default;
|
|
in
|
|
{
|
|
users.users.makefu.packages = [
|
|
pkg
|
|
];
|
|
systemd.services.mausdownload = {
|
|
startAt = "daily";
|
|
path = [ pkg ];
|
|
script = "mausdownload.sh /media/silent/music/kinder/hoerbucher";
|
|
serviceConfig= {
|
|
User = "makefu"; # TODO unprivileged user
|
|
};
|
|
};
|
|
}
|