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