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.