133 lines
2.7 KiB
Nix
133 lines
2.7 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
|
|
];
|
|
|
|
# Configure default applications as per /snippets/defaults.nix
|
|
defaultPrograms = with pkgs; {
|
|
terminal = alacritty;
|
|
editor = kakoune;
|
|
browser = firefox;
|
|
mail = thunderbird;
|
|
};
|
|
|
|
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;
|
|
let
|
|
overlay = (final: prev: {
|
|
olympus = prev.callPackage ../pkgs/olympus/package.nix { };
|
|
olympus-unwrapped = prev.callPackage ../pkgs/olympus-unwrapped/package.nix { };
|
|
});
|
|
in
|
|
(with (pkgs.extend overlay); [ olympus ]) ++
|
|
[ kalker tldr htop snore ] ++ # Basic CLI/TUI utilities
|
|
[ catgirl hledger hledger-ui ] ++ # Selection of CLI/TUI apps
|
|
[ blueman pavucontrol font-manager ] ++ # Basic graphical utilities
|
|
[
|
|
libreoffice
|
|
signal-desktop
|
|
mumble
|
|
gimp
|
|
inkscape
|
|
deluge-gtk
|
|
shotwell
|
|
lorien
|
|
keepassxc
|
|
zulip
|
|
filezilla
|
|
bitwarden-desktop
|
|
activate-linux
|
|
remmina
|
|
pinta
|
|
] ++ # Selection of graphical apps
|
|
[
|
|
prismlauncher
|
|
shticker-book-unwritten
|
|
] ++ # Games
|
|
[ 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 xfce.tumbler xfce.ristretto hledger ] ++
|
|
(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
|
|
[];
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
# terminal emulator
|
|
programs.alacritty.enable = true;
|
|
|
|
programs.pandoc.enable = true;
|
|
|
|
# Fixes electron apps
|
|
home.sessionVariables =
|
|
{
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
}
|