nixos/gunther/leonv.nix

175 lines
3.5 KiB
Nix
Raw Normal View History

2024-02-16 13:59:46 +01:00
{ config, pkgs, inputs, ... }:
{
imports = [
./../common
./hypr/hyprland.nix
./../common/eww
];
/* The home.stateVersion option does not have a default and must be set */
2024-02-25 21:03:35 +01:00
home.stateVersion = "24.05";
2024-02-16 13:59:46 +01:00
home.username = "leonv";
home.homeDirectory = "/home/leonv";
home.packages = with pkgs; [
# theme for gtk applications
orchis-theme
2024-06-25 13:00:11 +02:00
(catppuccin-gtk.override {
accents = [ "flamingo" ];
size = "compact";
tweaks = [ "rimless" "black" ];
variant = "macchiato";
})
2024-06-25 11:41:31 +02:00
nextcloud-client
ausweisapp
2024-07-17 14:51:42 +02:00
godot_4
dotnet-runtime
blender
aseprite
2024-06-25 11:41:31 +02:00
# smt solver for liquid haskell
z3
2024-02-16 13:59:46 +01:00
# stuff
jq
vlc
openvpn
signal-desktop
webcord
firefox-wayland
ungoogled-chromium
thunderbird
gimp
qpdfview
wget
fontforge
gparted
eza
ripgrep
fd
zoom-us
2024-04-18 06:53:04 +02:00
obsidian
zotero
2024-02-16 13:59:46 +01:00
# development
jetbrains.idea-ultimate
gnumake
ghostscript
jdk11
gcc
2024-06-25 11:41:31 +02:00
haskell.compiler.ghc981
2024-02-16 13:59:46 +01:00
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
2024-07-17 14:51:42 +02:00
file-roller
2024-02-16 13:59:46 +01:00
zip
2024-07-17 14:51:42 +02:00
unzip
2024-02-16 13:59:46 +01:00
# yubikey
yubico-pam
yubikey-manager
2024-06-25 13:00:11 +02:00
# proof assistants
2024-02-16 13:59:46 +01:00
(agda.withPackages [
agdaPackages.standard-library
agdaPackages.agda-categories
])
2024-06-25 13:00:11 +02:00
coq
2024-03-20 16:12:45 +01:00
lean4
2024-05-08 11:03:22 +02:00
# for emacs
texlab
2024-06-25 13:00:11 +02:00
shellcheck
2024-02-16 13:59:46 +01:00
];
2024-05-13 08:50:17 +02:00
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;
2024-02-16 13:59:46 +01:00
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";
2024-02-25 21:03:35 +01:00
code = "codium";
2024-03-27 07:06:01 +01:00
alg = "code ~/Git/algprog/tex";
nixos = "code ~/Git/nixos";
2024-02-16 13:59:46 +01:00
};
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";
};
2024-06-25 13:00:11 +02:00
gtk3 = {
extraConfig.gtk-application-prefer-dark-theme = true;
};
2024-02-16 13:59:46 +01:00
};
home.sessionVariables.GTK_THEME = "Catppuccin-Macchiato-Compact-Flamingo-Dark";
home.sessionPath = [ "$HOME/.config/emacs/bin" ];
services.syncthing = {
enable = true;
};
2024-06-25 13:00:11 +02:00
dconf.settings = {
# GTK4 Setup
"org/gnome/desktop/interface" = {
gtk-theme = "Catppuccin-Macchiato-Compact-Flamingo-Dark";
color-scheme = "prefer-dark";
};
};
2024-02-16 13:59:46 +01:00
services.mpris-proxy.enable = true;
}