blob: 911b1c8e017a109ccdb63cd7168b8b90369727ac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
{ 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 emacs29-macport).emacsWithPackages(ps: [ ps.vterm ps.multi-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
pam-reattach
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"; }));
};
}
|