nix/home.nix
2024-04-23 12:53:48 +02:00

96 lines
2.2 KiB
Nix

{ config, pkgs, ... }:
let
tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-full;
});
in
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "clemens";
home.homeDirectory = "/home/clemens";
# 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/i3.nix
./programm_configs/picom.nix
./programm_configs/zsh.nix
./programm_configs/gnome.nix
./programm_configs/autorandr.nix
./programm_configs/polybar.nix
./programm_configs/redshift.nix
];
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
alacritty
polybar
scrot
imagemagick
htop
firefox
tex
jetbrains.idea-ultimate
arandr
thunderbird
signal-desktop
nextcloud-client
nixpkgs-fmt
powerline-fonts
font-manager
xfce.xfce4-notifyd
gnome.seahorse
evince
xournalpp
pavucontrol
keepassxc
flameshot
gnome.simple-scan
lxqt.lxqt-policykit
cifs-utils
samba
unzip
direnv
];
fonts.fontconfig.enable = true;
# dotfiles
home.file = {
rofitheme = {
source = ./programm_configs/slate.rasi;
target = ".config/rofi/slate.rasi";
};
i3lock = {
source = ./programm_configs/lock.sh;
target = ".config/i3/lock.sh";
executable = true;
};
wallpaper = {
source = ./media/wallpaper.png;
target = ".background-image";
};
};
# envars
home.sessionVariables = {
EDITOR = "vim";
GTK_THEME = "Adwaita:dark";
};
systemd.user.sessionVariables = {
GTK2_RC_FILES = "/home/clemens/.gtkrc-2.0";
GTK_THEME = "Adwaita:dark";
};
}