helm/modules/desktop/default.nix
2020-01-14 06:58:13 -05:00

54 lines
1,012 B
Nix

{ config, lib, pkgs, ... }:
{
my.packages = with pkgs; [
libqalculate
xclip
xdotool
mpv # video player
feh # image viewer
# Useful apps
calibre # managing my ebooks
evince # pdf reader
];
sound.enable = true;
hardware.pulseaudio.enable = true;
services = {
xserver.enable = true;
redshift.enable = true;
};
# For redshift
location = (if config.time.timeZone == "America/Toronto" then {
latitude = 43.70011;
longitude = -79.4163;
} else if config.time.timeZone == "Europe/Copenhagen" then {
latitude = 55.88;
longitude = 12.5;
} else {});
fonts = {
enableFontDir = true;
enableGhostscriptFonts = true;
fonts = with pkgs; [
ubuntu_font_family
dejavu_fonts
fira-code
fira-code-symbols
symbola
noto-fonts
noto-fonts-cjk
font-awesome-ttf
];
fontconfig.defaultFonts = {
sansSerif = ["Ubuntu"];
monospace = ["Fira Code"];
};
};
}