Compare commits

...

2 commits

2 changed files with 30 additions and 1 deletions

18
modules/desktop/beets.nix Normal file
View file

@ -0,0 +1,18 @@
{config, ...}: {
flake.modules.nixos.desktop = {pkgs, ...}: {
environment.systemPackages = with pkgs; [beets];
};
flake.modules.homeManager.desktop = {
programs.beets = {
enable = true;
settings = {
directory = "/home/${config.flake.meta.user.name}/Music";
import.move = true;
import.copy = false;
paths.default = "$albumartist/$album/$track $title";
plugins = ["fetchart" "musicbrainz"];
};
};
};
}

View file

@ -1,5 +1,16 @@
{...}: {
flake.modules.nixos.desktop = {
services.printing.enable = true;
services.printing = {
enable = true;
extraConf = ''
Browsing On
BrowseLocalProtocols dnssd
'';
};
services.avahi = {
enable = true;
nssmdns = true;
};
};
}