nixos-config/modules/gui.nix

31 lines
730 B
Nix
Raw Normal View History

2020-12-05 13:48:06 +01:00
{ config, lib, pkgs, ... }:
2020-08-22 17:44:39 +02:00
lib.mkIf config.sbruder.gui.enable {
# used to set up system wide configuration, actual configuration happens in
# home-manager
programs.sway = {
enable = true;
extraPackages = [ ];
};
2020-08-22 17:44:39 +02:00
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
gtkUsePortal = true;
};
};
2021-01-01 12:33:13 +01:00
# steam (and other high quality software) still ships 32 bit binaries
hardware.opengl.driSupport32Bit = lib.mkDefault pkgs.stdenv.isx86_64;
2021-03-27 13:22:34 +01:00
services.upower.enable = true;
2021-03-27 13:22:34 +01:00
environment.systemPackages = with pkgs; [
pkgs.gnome3.adwaita-icon-theme # lutris requires system-wide installation
];
2020-08-22 17:44:39 +02:00
}