nix-dotfiles/snippets/common_home.nix
2025-11-19 14:34:05 -05:00

87 lines
1.6 KiB
Nix

{ pkgs, ... }:
{
imports = [
./defaults.nix
./gammastep.nix
./kdeconnect.nix
./ssh.nix
./zsh.nix
./taskwarrior.nix
./kakoune.nix
./clifm.nix
./git.nix
./sway.nix
./waybar.nix
./firefox.nix
./thunderbird.nix
./imv.nix
./zathura.nix
];
home.username = "alice";
home.homeDirectory = "/home/alice";
# Configure cursor
home.pointerCursor = {
package = pkgs.vanilla-dmz;
name = "Vanilla-DMZ";
};
# Configure icon theme
gtk = {
enable = true;
iconTheme = {
name = "Papirus";
package = pkgs.papirus-icon-theme;
};
};
# configure fonts correctly
fonts.fontconfig = {
enable = true;
defaultFonts = {
sansSerif = [ "Rubik" "Noto Sans" "DejaVu Sans" ];
serif = [ "Noto Serif" "DejaVu Serif" ];
monospace = [ "Noto Mono" ];
emoji = [ "OpenMoji" ];
};
};
home.packages = with pkgs;
[ marksman nil ] ++ # Language servers for built in languages
[ texliveFull texlab ] ++ # LaTeX - remove this eventually and put it in dev
# envs
[ xdg-terminal-exec glib upower ] ++
(let
archivo = callPackage ../pkgs/archivo/archivo.nix { };
highway-gothic = callPackage ../pkgs/highway-gothic/highway-gothic.nix { };
in [
noto-fonts
inter
redhat-official-fonts
overpass
ibm-plex
rubik
archivo
highway-gothic
merriweather-sans
paratype-pt-sans
paratype-pt-serif
libertinus
roboto
lato
montserrat
merriweather
openmoji-black
openmoji-color
]) ++ # Fonts
[];
# terminal emulator
programs.alacritty.enable = true;
programs.pandoc.enable = true;
}