mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
Gabriel Arazas
2a2526f196
Even though it's pointless in practice since it needs firewall for security-oriented systems but still... could be useful for desktop systems where security is permissive.
20 lines
364 B
Nix
20 lines
364 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.gonic = {
|
|
enable = true;
|
|
package = pkgs.gonic;
|
|
|
|
settings = {
|
|
music-path = [ config.xdg.userDirs.music ];
|
|
podcast-path = [ "${config.xdg.userDirs.music}/Podcasts" ];
|
|
};
|
|
};
|
|
|
|
test.stubs.gonic = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/gonic.service
|
|
'';
|
|
}
|