nix: add redshift
This commit is contained in:
parent
12e54f5cfc
commit
b21b5fa4c0
@ -30,6 +30,11 @@
|
|||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
|
# Set location used by redshift
|
||||||
|
location.provider = "manual";
|
||||||
|
location.latitude = 47.92;
|
||||||
|
location.longitude = 10.12;
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
@ -172,7 +177,19 @@
|
|||||||
environment.pathsToLink = [ "/share/nix-direnv" ];
|
environment.pathsToLink = [ "/share/nix-direnv" ];
|
||||||
environment.shells = with pkgs; [ zsh ]; # adds zsh to /etc/shells
|
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;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
|
||||||
@ -274,6 +291,7 @@
|
|||||||
zotero
|
zotero
|
||||||
inkscape
|
inkscape
|
||||||
pulseaudio
|
pulseaudio
|
||||||
|
gcolor3
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
@ -303,15 +321,6 @@
|
|||||||
# enableSSHSupport = true;
|
# 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.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user