Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng 1dce59a7cd
Set redshift location automatically 2022-02-16 23:54:26 +01:00
coolneng ddb3a85be5
Add with pkgs to the top of gui.nix 2022-02-16 23:54:15 +01:00
1 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with pkgs;
{ {
# Display manager # Display manager
services.xserver.enable = true; services.xserver.enable = true;
@ -18,7 +20,7 @@
# Window manager # Window manager
programs.sway = { programs.sway = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = [
xwayland xwayland
swaylock swaylock
swayidle swayidle
@ -52,15 +54,11 @@
programs.light.enable = true; programs.light.enable = true;
# Blue light filter # Blue light filter
location = { location.provider = "geoclue2";
latitude = 51.05;
longitude = 3.71;
provider = "manual";
};
services.redshift = { services.redshift = {
package = pkgs.gammastep;
enable = true; enable = true;
package = gammastep;
executable = "/bin/gammastep"; executable = "/bin/gammastep";
temperature = { temperature = {
day = 6500; day = 6500;
@ -123,6 +121,6 @@
# Enable WebRTC screensharing # Enable WebRTC screensharing
xdg.portal = { xdg.portal = {
enable = true; enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-wlr ]; extraPortals = [ xdg-desktop-portal-wlr ];
}; };
} }