Kardorf: make use of new modules

This commit is contained in:
2024-07-21 09:11:44 +02:00
parent 80bdd2314a
commit 5e3a0f0908
4 changed files with 57 additions and 20 deletions

View File

@ -23,23 +23,22 @@
home.username = "julian";
home.homeDirectory = "/home/julian";
# DO NOT CHANGE!!!
home.stateVersion = "23.11";
modules = {
non-nixos.is-nixos = true;
shell = {
fish.enable = true;
direnv.enable = true;
};
topgrade.enable = true;
neovim.enable = true;
alacritty.enable = true;
# alacritty.enable = true;
kitty.enable = true;
yazi.enable = true;
emacs.enable = true;
i3 = {
enable = true;
};
rofi.enable = true;
i3.enable = true;
nix-helper.enable = true;
desktop.enable = true;
};
home.packages =
@ -52,9 +51,24 @@
gtk = {
enable = true;
theme.name = "Adwaita-dark";
# 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"; }
];
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# ======================== DO NOT CHANGE THIS ========================
home.stateVersion = "23.11";
# ======================== DO NOT CHANGE THIS ========================
}

View File

@ -6,11 +6,11 @@ with pkgs;
shellcheck
# Rust setup
rustc
rustfmt
cargo
clippy
rust-analyzer
unstable.rustc
unstable.rustfmt
unstable.cargo
unstable.clippy
unstable.rust-analyzer
# Further tools
lazygit
@ -125,7 +125,7 @@ with pkgs;
nomacs
rocketchat-desktop
# zotero
zotero
inkscape
pulseaudio
gcolor3
@ -154,7 +154,7 @@ with pkgs;
winetricks
# lf
rustdesk
# rustdesk
# realvnc-vnc-viewer
calibre
@ -165,6 +165,25 @@ with pkgs;
# 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
'')
]