120 lines
2.6 KiB
Nix
120 lines
2.6 KiB
Nix
{ config, pkgs, x11mode, ... }:
|
|
let
|
|
tex = (pkgs.texlive.combine {
|
|
inherit (pkgs.texlive) scheme-full;
|
|
});
|
|
in
|
|
let username = "clemens"; 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
|
|
firefox
|
|
tex
|
|
jetbrains.idea-ultimate
|
|
jetbrains.clion
|
|
thunderbird
|
|
signal-desktop
|
|
nextcloud-client
|
|
nixpkgs-fmt
|
|
powerline-fonts
|
|
font-manager
|
|
xfce.xfce4-notifyd
|
|
gnome.seahorse
|
|
evince
|
|
xournalpp
|
|
pavucontrol
|
|
keepassxc
|
|
gnome.simple-scan
|
|
lxqt.lxqt-policykit
|
|
cifs-utils
|
|
samba
|
|
unzip
|
|
direnv
|
|
font-awesome
|
|
networkmanagerapplet
|
|
zotero
|
|
blender-hip
|
|
pdfpc
|
|
maltego
|
|
krita
|
|
gparted
|
|
libreoffice
|
|
scribus
|
|
pandoc
|
|
qgis
|
|
mpv
|
|
] ++ (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";
|
|
};
|
|
systemd.user.sessionVariables = {
|
|
GTK2_RC_FILES = "/home/${username}/.gtkrc-2.0";
|
|
GTK_THEME = "Adwaita:dark";
|
|
};
|
|
}
|