53 lines
977 B
Nix
53 lines
977 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
my.packages = with pkgs; [
|
|
libqalculate
|
|
xclip
|
|
xdotool
|
|
mpv # video player
|
|
feh # image viewer
|
|
|
|
# Useful apps
|
|
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"];
|
|
};
|
|
};
|
|
}
|