init
This commit is contained in:
commit
6822350a3b
11 changed files with 1055 additions and 0 deletions
111
t14/system-packages.nix
Normal file
111
t14/system-packages.nix
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
{ pkgs }: with pkgs;
|
||||
let
|
||||
firefoxWithBelgianEid = firefox-wayland.override { pkcs11Modules = [ eid-mw ]; };
|
||||
|
||||
sublime4Cracked = sublime4.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
sublime_text = previousAttrs.sublime_text.overrideAttrs (finalAttrs: previousAttrs:
|
||||
let
|
||||
pattern = "807905000f94c2"; # hex pattern to look for
|
||||
replacement = "c6410501b20090"; # replacement
|
||||
in {
|
||||
postFixup = ''
|
||||
# Based on: https://gist.github.com/opastorello/4d494d627ec9012367028c89cb7a1945
|
||||
|
||||
# Assert that binary contains pattern:
|
||||
${xxd}/bin/xxd -p -c 0 $out/sublime_text | sed '/${pattern}/!{q100}' > /dev/null # exit code '100' if pattern not found
|
||||
|
||||
# Patch binary in-place:
|
||||
${xxd}/bin/xxd -p -c 0 $out/sublime_text | sed 's/${pattern}/${replacement}/' | ${xxd}/bin/xxd -p -c 0 -r > $out/tmp
|
||||
mv $out/tmp $out/sublime_text
|
||||
chmod +x $out/sublime_text
|
||||
'' + previousAttrs.postFixup;
|
||||
});
|
||||
});
|
||||
in [
|
||||
# Utility
|
||||
tree
|
||||
unzip
|
||||
killall
|
||||
nix-index
|
||||
nix-tree # really useful package for searching, figuring out why something's a dependency, etc.
|
||||
steam-run
|
||||
zip
|
||||
unrar
|
||||
apg # secure password generator
|
||||
fuse3 # User space filesystems - need this to run AppImages with steam-run
|
||||
gnupg
|
||||
bottles # Wrapper around wine
|
||||
filelight # Disk space analysis
|
||||
dconf-editor
|
||||
gnome-calculator
|
||||
gnome-disk-utility
|
||||
file-roller
|
||||
|
||||
# Programming
|
||||
git
|
||||
kate
|
||||
vim
|
||||
vimPlugins.vim-nix
|
||||
graphviz
|
||||
sublime4Cracked
|
||||
sublime-merge
|
||||
|
||||
# Network thingy
|
||||
chromium
|
||||
firefoxWithBelgianEid
|
||||
thunderbird
|
||||
signal-desktop
|
||||
whatsapp-for-linux
|
||||
tor-browser-bundle-bin
|
||||
zoom-us
|
||||
joplin-desktop
|
||||
transmission-remote-gtk
|
||||
transmission_3-gtk
|
||||
dig # DNS debugging
|
||||
sshfs
|
||||
teams-for-linux # Unofficial teams client
|
||||
|
||||
# Graphics thingy
|
||||
gimp
|
||||
inkscape
|
||||
xournalpp
|
||||
drawio
|
||||
eog
|
||||
|
||||
# Documents thingy
|
||||
libreoffice
|
||||
evince
|
||||
koreader # epub reader
|
||||
hunspell
|
||||
hunspellDicts.en-us
|
||||
hunspellDicts.en-us-large
|
||||
pdfarranger # useful tool to rearrange / split / merge PDF documents
|
||||
(texlive.combine {
|
||||
inherit (texlive) scheme-small
|
||||
awesomebox fontawesome5;
|
||||
})
|
||||
|
||||
# Media thingy
|
||||
vlc
|
||||
(wrapOBS {
|
||||
plugins = with obs-studio-plugins; [
|
||||
obs-backgroundremoval
|
||||
];
|
||||
})
|
||||
helvum
|
||||
pavucontrol
|
||||
pamixer # command line volume control
|
||||
audacity
|
||||
cheese
|
||||
playerctl # command line media control (play/pause)
|
||||
|
||||
# Belgian eID software and hardware drivers
|
||||
eid-mw
|
||||
pcsctools
|
||||
pcsclite
|
||||
ccid
|
||||
acsccid
|
||||
libacr38u
|
||||
scmccid
|
||||
qdigidoc
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue