# In deiner home.nix { config, pkgs, ... }: let localScripts = import ./scripts.nix { inherit pkgs; }; flakePackages = import ./flakes.nix {}; in { home.stateVersion = "25.11"; home.packages = with pkgs; [ # Desktop-Anwendungen thunderbird vlc gimp filezilla solaar jameica libreoffice-fresh hunspell hunspellDicts.de_DE darktable kdePackages.kdenlive davinci-resolve-studio # Browser google-chrome # Kommunikation signal-desktop # Remote Desktop rustdesk-flutter # Gaming lutris steam prismlauncher #flakePackages.hytale-launcher # Entwicklung jetbrains-toolbox mkcert gitflow claude-code gnomeExtensions.claude-code-usage-indicator gnumake p7zip cacert # Gnome extensions gnomeExtensions.appindicator gnomeExtensions.caffeine gnomeExtensions.dash-to-dock # Aliases localScripts.composer localScripts.git-cleanup-local-branches localScripts.lazydocker ]; # Powerlevel10k Theme installieren home.activation.installPowerlevel10k = config.lib.dag.entryAfter ["writeBoundary"] '' P10K_DIR="$HOME/.oh-my-zsh/custom/themes/powerlevel10k" if [ ! -d "$P10K_DIR" ]; then $DRY_RUN_CMD mkdir -p "$HOME/.oh-my-zsh/custom/themes" $DRY_RUN_CMD ${pkgs.git}/bin/git clone --depth=1 \ https://github.com/romkatv/powerlevel10k.git "$P10K_DIR" || true fi ''; # mkcert installieren (für lokale SSL-Zertifikate) home.activation.setupMkcert = config.lib.dag.entryAfter ["writeBoundary"] '' if [ ! -f "$HOME/.local/share/mkcert/rootCA.pem" ]; then $DRY_RUN_CMD ${pkgs.mkcert}/bin/mkcert -install || true fi ''; home.shellAliases = { ll = "ls -lah"; la = "ls -A"; l = "ls -CF"; ".." = "cd .."; "..." = "cd ../.."; rebuild = "sudo nixos-rebuild switch"; update = "sudo nixos-rebuild switch --upgrade"; c = "composer"; lzd = "lazydocker"; gclb = "git-cleanup-local-branches"; ngc = "sudo nix-store --optimise && sudo nix-collect-garbage -d"; t3docrun = "source <(docker run --rm t3docs/render-documentation show-shell-commands)"; t3docmake = "dockrun_t3rd makehtml"; t3docopen = ''xdg-open "file:///$(pwd)/Documentation-GENERATED-temp/Result/project/0.0.0/Index.html"''; t3docclean = "rm -rf Documentation-GENERATED-temp/"; t3doc = "t3docrun && t3docmake && t3docopen"; }; home.file.".gitignore_global".text = '' .idea ''; home.file.".p10k.zsh".source = ./config/p10k.zsh; home.file.".oh-my-zsh/custom/custom.zsh".source = ./config/zsh-custom.zsh; home.file.".profile".text = '' if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi ''; home.file.".ssh" = { source = config.lib.file.mkOutOfStoreSymlink "/mnt/data/.ssh"; recursive = false; }; home.file.".steam" = { source = config.lib.file.mkOutOfStoreSymlink "/mnt/data/Steam"; recursive = false; }; home.file.".thunderbird" = { source = config.lib.file.mkOutOfStoreSymlink "/mnt/data/Thunderbird"; recursive = false; }; home.sessionPath = [ "${config.home.homeDirectory}/.local/bin" "${config.home.homeDirectory}/bin" "${config.home.homeDirectory}/.composer/vendor/bin" "${config.home.homeDirectory}/.local/share/JetBrains/Toolbox/scripts" ]; # GTK Theme (optional, für besseres Aussehen) gtk = { enable = true; theme = { name = "Adwaita-dark"; package = pkgs.gnome-themes-extra; }; }; }