-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackages.nix
136 lines (131 loc) · 2.81 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
pkgs,
system,
lib,
inputs,
...
}:
let
patched_keepassxc = pkgs.keepassxc.overrideAttrs (oldAttrs: {
postFixup = ''
sed -i 's/^Exec=keepassxc/Exec=keepassxc -platform xcb/' \
$out/share/applications/org.keepassxc.KeePassXC.desktop
'';
});
corePackages = with pkgs; [
android-tools
busybox
cookiecutter
dconf
dig
duf
entr
fd
frogmouth
gdu
git
gitflow
gitleaks
glib
gnumake
inputs.isd.packages.${system}.default # Add the isd package here
ispell
jq
libqalculate
libsecret
nix-prefetch-github
nix-search-cli
nixfmt-classic
nmap
pandoc
poppler_utils
rclone
rename
silver-searcher
speedtest-go
t-rec
taplo
tldr
uv
wakatime
xclip
yq-go
btop
];
guiPackages = with pkgs; [
appflowy
brave
pywal16
gnome-boxes
code-cursor
dbeaver-bin
feh
firefox-unwrapped
gnome-pomodoro
konsole
libnotify
netbird-ui
nodePackages.prettier
onlyoffice-bin
pika-backup
signal-desktop
slack
spotify
stretchly
variety
xdg-desktop-portal-wlr
xdragon
xorg.xkill
yubikey-personalization-gui
];
devPackages =
with pkgs;
[
opencommit
graphviz
nerd-fonts.fira-code
meslo-lgs-nf
fira-code-symbols
nodejs
]
++ lib.optionals (system != "aarch64-linux") [ jdk ];
# emacs is enabled in programs.nix
emacsPackages = with pkgs; [
python312Packages.python-lsp-server
powershell
hunspell
nixd
texlab
silver-searcher
aspellDicts.da
aspellDicts.en
aspellDicts.en-computers
aspellDicts.en-science
marksman
autotools-language-server
wl-clipboard-rs
];
customScripts = [
(pkgs.writeShellScriptBin "dragon-scp" (builtins.readFile ./bin/dragon-scp))
(pkgs.writeScriptBin "find-available-server" (builtins.readFile ./bin/find-available-server))
(pkgs.writeShellScriptBin "unzipd" (builtins.readFile ./bin/unzipd))
(pkgs.writeShellScriptBin "bak" (builtins.readFile ./bin/bak))
(pkgs.writeShellScriptBin "pyenv-here" (builtins.readFile ./bin/pyenv-here))
(pkgs.writeShellScriptBin "emacs-clean" (builtins.readFile ./bin/emacs-clean))
(pkgs.writeShellScriptBin "time-stats" (builtins.readFile ./bin/time-stats))
(pkgs.writeShellScriptBin "bhelp" (builtins.readFile ./bin/bathelp))
(pkgs.writeShellScriptBin "docker-volume-copy" (builtins.readFile ./bin/docker-volume-copy))
(pkgs.writeShellScriptBin "pywal-apply" ''
${pkgs.pywal16}/bin/wal -i "$(${pkgs.coreutils}/bin/cat ~/.config/variety/wallpaper/wallpaper.jpg.txt)"
'')
];
in
{
inherit
corePackages
devPackages
customScripts
emacsPackages
;
guiPackages = guiPackages ++ [ patched_keepassxc ];
}