diff --git a/homes/media/default.nix b/homes/media/default.nix index b675050..8ed6777 100644 --- a/homes/media/default.nix +++ b/homes/media/default.nix @@ -4,11 +4,11 @@ imports = with nix-config.homeModules; [ shell-conf # shell, shell utils, cli tools, libs, tui's git-conf + beets ]; home = { packages = with pkgs; [ - beets btop ]; @@ -19,7 +19,6 @@ NH_FLAKE = "\${HOME}/nixos-config"; }; - sessionPath = [ "/home/media/.local/bin" "/home/media/.local/share" @@ -42,8 +41,6 @@ startServices = "sd-switch"; # auto reload services when home is rebuilt }; - xdg.configFile."beets/config.yaml".source = ../../modules/home/beets/config.yaml; - #custom script executables home.file.".local/bin" = { source = ../emenel/dotfiles/dot_local/bin; diff --git a/modules/home/beets/default.nix b/modules/home/beets/default.nix new file mode 100644 index 0000000..35ba68d --- /dev/null +++ b/modules/home/beets/default.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + home.packages = with pkgs; [ + beets + ]; + + xdg.configFile."beets/config.yaml".source = ./config.yaml; +}