Add with pkgs to the top of gui.nix
This commit is contained in:
parent
ff3d88746a
commit
ddb3a85be5
|
@ -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
|
||||||
|
@ -59,8 +61,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
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 +125,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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue