Add with pkgs to the top of gui.nix

This commit is contained in:
coolneng 2022-02-16 23:54:15 +01:00
parent ff3d88746a
commit ddb3a85be5
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 5 additions and 3 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
@ -59,8 +61,8 @@
};
services.redshift = {
package = pkgs.gammastep;
enable = true;
package = gammastep;
executable = "/bin/gammastep";
temperature = {
day = 6500;
@ -123,6 +125,6 @@
# Enable WebRTC screensharing
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-wlr ];
extraPortals = [ xdg-desktop-portal-wlr ];
};
}