nix: add redshift

This commit is contained in:
Julian Mutter 2023-07-29 06:28:59 +02:00
parent 12e54f5cfc
commit b21b5fa4c0

View File

@ -30,6 +30,11 @@
# Set your time zone.
time.timeZone = "Europe/Berlin";
# Set location used by redshift
location.provider = "manual";
location.latitude = 47.92;
location.longitude = 10.12;
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
@ -172,7 +177,19 @@
environment.pathsToLink = [ "/share/nix-direnv" ];
environment.shells = with pkgs; [ zsh ]; # adds zsh to /etc/shells
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = false;
services.syncthing.enable = true;
services.syncthing.user = "julian";
services.syncthing.group = "julian";
services.redshift.enable = true;
services.flatpak.enable = true;
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
@ -274,6 +291,7 @@
zotero
inkscape
pulseaudio
gcolor3
];
nixpkgs.overlays = [
@ -303,15 +321,6 @@
# enableSSHSupport = true;
# };
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = false;
services.syncthing.enable = true;
services.syncthing.user = "julian";
services.syncthing.group = "julian";
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];