-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.nix
92 lines (90 loc) · 1.79 KB
/
packages.nix
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{ config, pkgs, ... }:
let
user_name = "lukasz";
# user_full_name = "";
# user_description = "";
user_packages = with pkgs; [
awscli2
broot
cargo
default_python
ffmpeg
git
github-cli
gnupg
jq
kind
kubernetes-helm
magic-wormhole
maven
mvnd
pass
passExtensions.pass-otp
pinentry
pinentry_mac
pwgen
ranger
rustc
sshfs
# telepresence # unsupported on macOS yet
tree
unixtools.watch
vim
wget
youtube-dl
# zulu # jdk-11 # fixed in https://github.com/NixOS/nixpkgs/pull/133806, waiting for the next release
];
user_brew_formulae = [
"gimme-aws-creds"
];
user_brew_taps = [
"homebrew/cask"
"homebrew/cask-drivers"
"homebrew/cask-fonts"
"homebrew/cask-versions"
"homebrew/core"
"homebrew/services"
];
user_brew_casks = [
"alfred"
"docker"
"eloston-chromium"
"firefox-developer-edition"
"iterm2"
"jetbrains-toolbox"
"karabiner-elements"
"lulu"
"macs-fan-control"
"notion"
"slack"
"spotify"
"temurin11" # replace with nix-pkgs install zulu?
"zoom"
];
mvnd = pkgs.callPackage ./mvnd/default.nix {};
default_python = pkgs.python3.withPackages(ps: with ps; [
pip
virtualenvwrapper
]);
in {
nix.package = pkgs.nix;
nixpkgs.config.allowUnfree = true;
homebrew = {
enable = true;
autoUpdate = true;
cleanup = "zap";
brews = user_brew_formulae;
extraConfig = ''
cask_args appdir: "~/Applications"
'';
taps = user_brew_taps;
casks = user_brew_casks;
# masApps = user_mas_apps;
};
users.users.${user_name} = {
# description = "${user_description}";
home = "/Users/${user_name}";
# name = "${user_full_name}";
packages = user_packages;
};
}