{ config, pkgs, x11mode, ... }: let tex = (pkgs.texlive.combine { inherit (pkgs.texlive) scheme-full; }); username = "clara"; mathematikapkg = pkgs.mathematica.override { source = pkgs.requireFile { name = "Mathematica_12.3.1_LINUX.sh"; sha256 = "1yj33m7xxhvlj11bjphzafdqlja7jj0w59ppwnc0lkv9ay0hgngp"; message = '' Your override for Mathematica includes a different src for the installer, and it is missing. ''; hashMode = "recursive"; }; }; in { # Home Manager needs a bit of information about you and the paths it should # manage. home.username = username; home.homeDirectory = "/home/${username}"; # This value determines the Home Manager release that your configuration is # compatible with. This helps avoid breakage when a new Home Manager release # introduces backwards incompatible changes. # # You should not change this value, even if you update Home Manager. If you do # want to update the value, then make sure to first check the Home Manager # release notes. home.stateVersion = "24.05"; # Please read the comment before changing. imports = [ ./programm_configs/git.nix ./programm_configs/vscode.nix ./programm_configs/rofi.nix ./programm_configs/zsh.nix ./programm_configs/gnome.nix ./programm_configs/autorandr.nix ./programm_configs/polybar.nix ] ++ (if x11mode then [ ./programm_configs/i3.nix ./programm_configs/picom.nix ./programm_configs/redshift.nix ] else [ ./programm_configs/sway.nix ./programm_configs/swaylock.nix ./programm_configs/waybar.nix ./programm_configs/gammastep.nix ]); # The home.packages option allows you to install Nix packages into your # environment. home.packages = with pkgs; [ alacritty imagemagick htop pkgs.firefox tex (jetbrains.idea-ultimate.override { jdk = pkgs.openjdk21; }) #jetbrains.clion thunderbird signal-desktop nextcloud-client nixpkgs-fmt powerline-fonts font-manager xfce.xfce4-notifyd seahorse evince xournalpp pavucontrol keepassxc simple-scan lxqt.lxqt-policykit cifs-utils samba unzip direnv font-awesome networkmanagerapplet zotero blender-hip pdfpc maltego krita gparted libreoffice scribus pandoc # qgis-ltr mpv helvum gvfs vdhcoapp inkscape inkscape-extensions.inkstitch prusa-slicer mathematikapkg jameica android-tools wireguard-tools sops android-studio ] ++ (if x11mode then [ arandr flameshot scrot polybar ] else [ wdisplays sway-contrib.grimshot ]); fonts.fontconfig.enable = true; # dotfiles home.file = { rofitheme = { source = ./programm_configs/slate.rasi; target = ".config/rofi/slate.rasi"; }; swaylock = { source = ./programm_configs/lock.sh; target = ".config/sway/lock.sh"; executable = true; }; }; # envars home.sessionVariables = { EDITOR = "vim"; GTK_THEME = "Adwaita:dark"; XDG_CURRENT_DESKTOP = "sway"; }; systemd.user.sessionVariables = { GTK2_RC_FILES = "/home/${username}/.gtkrc-2.0"; GTK_THEME = "Adwaita:dark"; }; }