Outsource aspi and kardorf hm-configs to modules

This commit is contained in:
2024-10-09 16:10:19 +02:00
parent 6894cd7539
commit 23f51db3a5
8 changed files with 266 additions and 474 deletions

View File

@ -43,79 +43,7 @@
nix-helper.enable = true;
desktop.enable = true;
};
home.packages =
with pkgs;
[
# Code formatters for use with doom emacs
nixfmt-rfc-style # nix
dockfmt # docker
google-java-format # java
# Lsps for use with doom emacs
# neocmakelsp # cmake
# Rust setup
rustc
rustfmt
cargo
clippy
rust-analyzer
# Further tools
cntr # nix debugger
lazygit
languagetool
# wireguard-tools
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
(pkgs.writeShellScriptBin "matlab-paper" ''
matlab -desktop -sd "/home/julian/dev/phdthesis/Phase B/mainSimulation" -softwareopengl
'')
(pkgs.writeShellScriptBin "matlab-robotik" ''
matlab -desktop -sd "/home/julian/nas-sync/Studium/Vorlesungen-Master/ss24/Robotik2" -softwareopengl
'')
(pkgs.writeShellScriptBin "matlab-gram" ''
export GTK_PATH=/usr/lib/gtk-3.0
nix shell nixpkgs#gcc11 --command matlab -desktop -sd "/home/julian/dev/matlab-gram" -softwareopengl
'')
(pkgs.writeShellScriptBin "expenses-tracker" ''
java -jar /home/julian/dev/expensestracker/app/build/libs/app.jar
'')
zotero
xfce.mousepad
tor-browser
## My scripts
frajul.deploy-to-pianopi
frajul.open-messaging
frajul.edit-config
frajul.xwacomcalibrate
frajul.lntocp
]
++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; }) [
./fonts.nix
./packages.nix
];
services.blueman-applet.enable = true;
services.nextcloud-client.enable = true;
services.nextcloud-client.startInBackground = true;
services.network-manager-applet.enable = true;
services.syncthing.tray.enable = true;
services.syncthing.tray.command = "syncthingtray --wait"; # Wait for tray to become available
programs.chromium = {
enable = true;
extensions = [
# Tampermonkey
{ id = "dhdgffkkebhmkfjojejmpbldmpobfkfo"; }
];
suites.default.enable = true;
};
# Let Home Manager install and manage itself.

View File

@ -1,15 +0,0 @@
{ pkgs, ... }:
with pkgs;
[
(nerdfonts.override { fonts = [ "FiraCode" ]; })
font-awesome
dejavu_fonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
source-code-pro
]

View File

@ -1,160 +0,0 @@
{ pkgs, ... }:
with pkgs;
[
shellcheck
# Further tools
lazygit
# makemkv
audacity
gnome.cheese
zoom-us
qutebrowser
unetbootin
# For SSS exercises
pwndbg
gcc
hexedit
xournalpp
zip
p7zip # unzip 7zip archives
imagemagick
ghostscript # needed for imagemagick with pdfs
firefox
thunderbird
# nextcloud-client # use service instead
qalculate-gtk
libqalculate
# schildichat-desktop # not updated regularly
# element-desktop
nheko
tdesktop # telegram
tealdeer
gcolor3
# cups
wget
nodejs
git
dotter
mc
# broot
rnr # renaming tool in rust
# doublecmd
# mucommander
tree
wezterm
kitty
bat
ripgrep
fd
fzf
topgrade
arandr
htop
# texlive.combined.scheme-full
# texlab
usbutils # lsusb
pciutils # lspci
gnome.gnome-keyring
gnome.seahorse
polkit_gnome
nix-index
python3
libnotify
libclang
libreoffice
killall
findutils
xorg.xkill
unzip
vlc
handbrake
nmap
jq
jdk
# emacsPackages.clang-format # formatting for java
gradle
maven
android-tools
scrcpy
# dvdisaster
mate.engrampa
unixtools.procps
ffmpeg
links2
julia-bin
# xdg-desktop-portal-gtk
discord
lnav # log analyzing tool
fdupes # find and delete duplicate files
digikam
dbeaver-bin
sqlite
nomacs
rocketchat-desktop
(texlive.combine {
# for rendering latex in inkscape
inherit (texlive)
scheme-medium
standalone
amsmath
preview
;
})
# (pkgs.inkscape-with-extensions.override {
# inkscapeExtensions = [ pkgs.inkscape-extensions.textext ];
# })
# inkscape-with-extensions
# inkscape-extensions.textext
inkscape
geogebra
languagetool
xclip
okular # Pdf reader with many features, good for commenting documents
evince # Simple pdf reader, good for focusing on document content
pdfsam-basic # Split, merge, etc for pdfs
poppler_utils # Pdf utils including pdfimages
matlab # Using nix-matlab overlay defined in flake
sage
gimp
devbox
parted
drawio
du-dust # Like du tree but better
gnupg
rpi-imager
# lf
# rustdesk
# realvnc-vnc-viewer
calibre
audible-cli
unstable.path-of-building
conda
watchexec # Run command when any file in current dir changes
pkg-config # Often needed to build something
]

View File

@ -39,30 +39,7 @@
nix-helper.enable = true;
desktop.enable = true;
};
home.packages =
lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; })
[
./fonts.nix
./packages.nix
];
fonts.fontconfig.enable = true; # required to autoload fonts from packages
gtk = {
enable = true;
# theme.name = "Adwaita-dark";
};
services.syncthing.tray.enable = true;
services.syncthing.tray.command = "syncthingtray --wait"; # Wait for tray to become available
programs.chromium = {
enable = true;
extensions = [
# Tampermonkey
{ id = "dhdgffkkebhmkfjojejmpbldmpobfkfo"; }
];
suites.default.enable = true;
};
# Let Home Manager install and manage itself.

View File

@ -1,14 +0,0 @@
{ pkgs, ... }:
with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
font-awesome
dejavu_fonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
source-code-pro
]

View File

@ -1,188 +0,0 @@
{ pkgs, ... }:
with pkgs;
[
shellcheck
# Rust setup
rustc
rustfmt
cargo
clippy
rust-analyzer
# Further tools
lazygit
languagetool
# makemkv
audacity
gnome.cheese
zoom-us
qutebrowser
unetbootin
# For SSS exercises
pwndbg
gcc
hexedit
# rfid reader tests
openct
opensc
pcsclite
pcsctools
ccid
libnfc
xournalpp
xfce.thunar-archive-plugin
zip
p7zip # unzip 7zip archives
imagemagick
firefox
thunderbird
nextcloud-client
qalculate-gtk
libqalculate
# schildichat-desktop # not updated regularly
element-desktop
tdesktop # telegram
tealdeer
gcolor3
# cups
wget
gparted
nodejs
git
dotter
mc
broot
rnr # renaming tool in rust
doublecmd
mucommander
tree
wezterm
kitty
bat
ripgrep
fd
fzf
topgrade
arandr
wireguard-tools
htop
texlive.combined.scheme-full
texlab
usbutils # lsusb
pciutils # lspci
gnome.gnome-keyring
gnome.seahorse
polkit_gnome
nix-index
python3
libnotify
libclang
libreoffice
killall
findutils
xorg.xkill
unzip
vlc
handbrake
nmap
jq
jdk
# emacsPackages.clang-format # formatting for java
gradle
maven
android-tools
scrcpy
# dvdisaster
mate.engrampa
# toybox
unixtools.procps
qpdfview
ffmpeg
links2
julia-bin
xdg-desktop-portal-gtk
discord
lnav # log analyzing tool
fdupes # find and delete duplicate files
digikam
dbeaver-bin
pavucontrol
sqlite
nomacs
rocketchat-desktop
zotero
inkscape
pulseaudio
gcolor3
geogebra
languagetool
xclip
okular # Pdf reader with many features, good for commenting documents
evince # Simple pdf reader, good for focusing on document content
pdfsam-basic # Split, merge, etc for pdfs
poppler_utils # Pdf utils including pdfimages
matlab # Using nix-matlab overlay defined in flake
# sage
gimp
devbox
parted
drawio
du-dust # Like du tree but better
gnupg
rpi-imager
wine
winetricks
# lf
# rustdesk
# realvnc-vnc-viewer
calibre
audible-cli
# cudaPackages.cudatoolkit
# openmvg
# colmapWithCuda
path-of-building
nheko
pkg-config # Often needed to build something
## My scripts
frajul.edit-config
frajul.xwacomcalibrate
(pkgs.writeShellScriptBin "matlab-paper" ''
matlab -desktop -sd "/home/julian/dev/phdthesis/Phase B/mainSimulation" -softwareopengl
'')
(pkgs.writeShellScriptBin "matlab-robotik" ''
matlab -desktop -sd "/home/julian/nas-sync/Studium/Vorlesungen-Master/ss24/Robotik2" -softwareopengl
'')
(pkgs.writeShellScriptBin "matlab-gram" ''
export GTK_PATH=/usr/lib/gtk-3.0
nix shell nixpkgs#gcc11 --command matlab -desktop -sd "/home/julian/dev/matlab-gram" -softwareopengl
'')
(pkgs.writeShellScriptBin "expenses-tracker" ''
java -jar /home/julian/dev/expensestracker/app/build/libs/app.jar
'')
]