blob: 134620c462bedde2abce36755d8aa303b41be8c2 (
plain) (
tree)
|
|
{ config, lib, pkgs, ... }:
with lib;
let
mopidyExtensions = with pkgs; [
mopidy-iris
mopidy-local
mopidy-mpd
mopidy-muse
mopidy-ytmusic
];
# https://github.com/nix-community/home-manager/blob/ce563f591195cf363bca382fe02ea5ca87754773/modules/services/mopidy.nix#L22
mopidy-with-extensions = pkgs.buildEnv {
name = "mopidy-with-extensions-${pkgs.mopidy.version}";
paths = closePropagation mopidyExtensions;
pathsToLink = [ "/${pkgs.mopidyPackages.python.sitePackages}" ];
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
makeWrapper ${pkgs.mopidy}/bin/mopidy $out/bin/mopidy \
--prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages}
'';
};
in
{
imports = [
./dev-common.nix
];
home.packages = with pkgs; [
awscli2
coreutils
curl
diffutils
((emacsPackagesFor emacsMacport).emacsWithPackages(ps: [ ps.vterm ]))
findutils
gh
gh-dash
#gnused
#adoptopenjdk-hotspot-bin-8
#lima
minikube
mopidy-with-extensions
mpdscribble
mpc-cli
mpd
mpv
mu
ncmpcpp
nix # on darwin we are not using nixos (duh)
nodejs
openvpn
pinentry_mac
pgcli
pgformatter
pms
postgresql
#python310Packages.sqlparse
sqls
vimpc
wget
];
nix.settings = {
sandbox = true;
keep-outputs = true;
keep-derivations = true;
};
programs.java = {
enable = true;
#package = (pkgs.jdk8.overrideAttrs (_: { postPatch = "ln -nsf ../zulu-8.jdk/Contents/Home/man man"; }));
};
}
|