media isolated and mopidy

This commit is contained in:
twoneis 2024-07-26 20:35:44 +02:00
parent 6ae1e0918e
commit 0c3931f1b1
3 changed files with 25 additions and 6 deletions

View file

@ -1,5 +1,6 @@
{ lib, config, pkgs, ... }: { { lib, config, pkgs, ... }: {
imports = [ imports = [
./media.nix
./programs.nix ./programs.nix
./themes.nix ./themes.nix
]; ];

24
modules/user/media.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }: lib.mkIf config.full {
home-manager.users.${config.username} = {
home.packages = with pkgs; [
loupe
spotify
];
programs.mpv = {
enable = true;
};
programs.mopidy = {
enable = true;
extensionPackages = with pkgs; [
mopidy-mpd
mopidy-mpris
mopidy-muse
mopidy-spotify
mopidy-local
];
};
};
}

View file

@ -14,11 +14,9 @@
signal-desktop signal-desktop
vesktop vesktop
fractal fractal
loupe
snapshot snapshot
nautilus nautilus
libreoffice-qt6-fresh libreoffice-qt6-fresh
spotify
# freecad -- broken dependency # freecad -- broken dependency
]; ];
@ -35,10 +33,6 @@
enable = true; enable = true;
}; };
programs.mpv = {
enable = true;
};
programs.thunderbird = { programs.thunderbird = {
enable = true; enable = true;
profiles = { profiles = {