nixos/jaci/modules/home-manager/home.nix

119 lines
2.2 KiB
Nix

{ inputs, outputs, lib, config, pkgs, ... }:
let
userName = "jaci";
fullName = "Jaci Anderson";
email = "jaci.s.anderson@gmail.com";
in
{
# nixpkgs.overlays = [
# inputs.nur.overlay
# ];
# nixpkgs.config.allowUnfree = true;
# inputs.nixpkgs-stable.config.allowUnfree = true;
imports = [
../../../shared/modules/apps/firefox/firefox.nix
];
home.username = userName;
home.homeDirectory = "/home/${userName}";
programs.home-manager.enable = true;
home.stateVersion = "23.11"; # Please read the comment before changing.
# The home.packages option allows you to install Nix packages into your
# environment.
firefoxApp.enable = true;
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
helix
mangohud
wine-wayland
webcord
mumble
bat
duf
fd
fzf
lsd
ripgrep
tre-command
gtop
imv
mpv
gimp
# Install fonts
nerd-fonts.hurmit
# TODO need to add gohu font
# Style
catppuccin-kvantum
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
];
home.file."${config.xdg.configHome}" = {
source = ../../dotfiles;
recursive = true;
};
home.sessionVariables = {
EDITOR = "hx";
};
# Git setup
programs.git = {
enable = true;
userEmail = email;
userName = fullName;
};
# Zsh setup
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "half-life";
};
initContent = ''
'';
};
#
# Theming qt and gnome apps
#
qt = {
enable = true;
platformTheme.name = "qtct";
style.name = "kvantum";
};
gtk = {
enable = true;
cursorTheme = {
package = pkgs.catppuccin-cursors.latteLavender;
name = "Catppuccin-Latte-Lavender-Cursors";
};
iconTheme = {
package = pkgs.catppuccin-papirus-folders;
name = "Papirus-Light";
};
theme = {
name = "catppuccin-latte-lavender-compact+rimless";
package = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "compact";
tweaks = [ "rimless" ];
variant = "latte";
};
};
};
}