nixos/gunther/leonv.nix
2024-05-21 20:24:02 +02:00

153 lines
3 KiB
Nix
Executable file

{ config, pkgs, inputs, ... }:
{
imports = [
./../common
./hypr/hyprland.nix
./../common/eww
];
/* The home.stateVersion option does not have a default and must be set */
home.stateVersion = "24.05";
home.username = "leonv";
home.homeDirectory = "/home/leonv";
home.packages = with pkgs; [
# theme for gtk applications
orchis-theme
# stuff
tidal-hifi
jq
vlc
openvpn
signal-desktop
webcord
firefox-wayland
ungoogled-chromium
thunderbird
gimp
qpdfview
wget
fontforge
gparted
eza
ripgrep
fd
zoom-us
obsidian
zotero
# development
jetbrains.idea-ultimate
gnumake
# texliveFull
# texlive.combined.scheme-full
# ltex-ls
ghostscript
jdk11
coq
gcc
ghc
cabal-install
haskell-language-server
python3
python3Packages.pygments
nodejs_20
unifont
anki
pandoc
# games
prismlauncher
# hyprland
kitty
networkmanagerapplet
mako
libnotify
pavucontrol
hyprpaper
qimgv
playerctl
hyprpicker
wev
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
bluez
htop
archiver
gnome.file-roller
discord
zip
# emacs
shellcheck
# yubikey
yubico-pam
yubikey-manager
# agda
(agda.withPackages [
agdaPackages.standard-library
agdaPackages.agda-categories
])
lean4
# for emacs
texlab
];
xdg.configHome = /home/leonv/.config;
xdg.configFile."doom/init.el".source = ./doom/init.el;
xdg.configFile."doom/config.el".source = ./doom/config.el;
xdg.configFile."doom/packages.el".source = ./doom/packages.el;
programs.home-manager.enable = true;
programs.zsh = {
enable = true;
shellAliases = {
clean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
ls = "eza";
ll = "eza -l";
l = "eza -lah";
code = "codium";
alg = "code ~/Git/algprog/tex";
nixos = "code ~/Git/nixos";
};
initExtra = ''
function rebuild () {
sudo nixos-rebuild switch --flake /home/leonv/Git/nixos
sudo cp -r /home/leonv/Git/nixos /etc/
}
'';
oh-my-zsh.enable = true;
};
gtk = {
enable = true;
theme = {
name = "Catppuccin-Macchiato-Compact-Flamingo-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "flamingo" ];
size = "compact";
tweaks = [ "rimless" "black" ];
variant = "macchiato";
};
};
iconTheme = {
name = "Dracula";
package = pkgs.dracula-icon-theme;
};
font = {
name = "NotoSans Nerd Font";
};
};
home.sessionVariables.GTK_THEME = "Catppuccin-Macchiato-Compact-Flamingo-Dark";
home.sessionPath = [ "$HOME/.config/emacs/bin" ];
services.syncthing = {
enable = true;
};
services.mpris-proxy.enable = true;
}