nixos-config/tests/modules/home-manager/services/gonic/basic.nix
Gabriel Arazas 2a2526f196
home-manager/services/gonic: init
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.
2024-08-01 12:29:56 +08:00

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
'';
}