refactor: what can I say
This commit is contained in:
28
modules/cli/media/go-musicfox/default.nix
Normal file
28
modules/cli/media/go-musicfox/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeSwitch {
|
||||
inherit config;
|
||||
optionName = "go-musicfox";
|
||||
optionPath = [
|
||||
"cli"
|
||||
"media"
|
||||
"go-musicfox"
|
||||
];
|
||||
config' = {
|
||||
my = {
|
||||
home = {
|
||||
home.packages = with pkgs; [
|
||||
playerctl
|
||||
go-musicfox
|
||||
];
|
||||
xdg.configFile."go-musicfox/go-musicfox.ini".source = ./go-musicfox.ini;
|
||||
};
|
||||
|
||||
cli.media.mpd.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user