146 lines
3 KiB
Nix
Executable file
146 lines
3 KiB
Nix
Executable file
{ config, pkgs, inputs, ... }:
|
|
{
|
|
imports = [
|
|
./../common
|
|
./hypr/hyprland.nix
|
|
./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; [
|
|
brillo
|
|
# theme for gtk applications
|
|
orchis-theme
|
|
|
|
# stuff
|
|
jq
|
|
vlc
|
|
openvpn
|
|
signal-desktop
|
|
webcord
|
|
firefox-wayland
|
|
ungoogled-chromium
|
|
thunderbird
|
|
gimp
|
|
qpdfview
|
|
wget
|
|
fontforge
|
|
gparted
|
|
eza
|
|
ripgrep
|
|
fd
|
|
zoom-us
|
|
obsidian
|
|
zotero
|
|
|
|
# development
|
|
gnumake
|
|
ghostscript
|
|
jdk11
|
|
coq
|
|
gcc
|
|
ghc
|
|
cabal-install
|
|
haskell-language-server
|
|
python3
|
|
python3Packages.pygments
|
|
nodejs_20
|
|
unifont
|
|
anki
|
|
pandoc
|
|
|
|
# hyprland
|
|
kitty
|
|
networkmanagerapplet
|
|
mako
|
|
libnotify
|
|
pavucontrol
|
|
hyprpaper
|
|
qimgv
|
|
playerctl
|
|
hyprpicker
|
|
hypridle
|
|
hyprlock
|
|
wev
|
|
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
|
|
bluez
|
|
htop
|
|
archiver
|
|
#gnome.file-roller
|
|
zip
|
|
unzip
|
|
emacs
|
|
shellcheck
|
|
|
|
# yubikey
|
|
yubico-pam
|
|
yubikey-manager
|
|
|
|
# agda
|
|
(agda.withPackages [
|
|
agdaPackages.standard-library
|
|
agdaPackages.agda-categories
|
|
])
|
|
|
|
lean4
|
|
|
|
# for emacs
|
|
texlab
|
|
];
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
xdg.configHome = /home/leonv/.config;
|
|
xdg.configFile."hypr/hypridle.conf".source = ./hypr/hypridle.conf;
|
|
xdg.configFile."hypr/hyprlock.conf".source = ./hypr/hyprlock.conf;
|
|
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.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.mpris-proxy.enable = true;
|
|
}
|