home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit a4723e3fee1fc4c01ce71cee300a9ef6e4b4d281
parent e90d0dce63da617f325b869be4bb7d49b68535d7
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon, 22 Aug 2022 18:26:10 +0200

systems/wakasu: trying some stuff with sway

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hardware/thinkpad.nix | 1+
Msystems/modules/desktop/base.nix | 1+
Msystems/modules/desktop/sway.nix | 2++
Msystems/modules/profiles/work.nix | 2+-
Musers/vincent/core/zsh.nix | 6+++---
5 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/systems/hardware/thinkpad.nix b/systems/hardware/thinkpad.nix @@ -29,6 +29,7 @@ hardware = { trackpoint.enable = false; cpu.intel.updateMicrocode = true; + hardware.opengl.extraPackages = with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl intel-media-driver beignet ]; }; services = { acpid = { diff --git a/systems/modules/desktop/base.nix b/systems/modules/desktop/base.nix @@ -128,6 +128,7 @@ in userServices = true; }; }; + udisks2.enable = true; # Make `/run/user/X` larger. logind.extraConfig = '' diff --git a/systems/modules/desktop/sway.nix b/systems/modules/desktop/sway.nix @@ -24,10 +24,12 @@ in xdg = { portal = { enable = true; + wlr.enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-wlr xdg-desktop-portal-gtk ]; + gtkUsePortal = true; }; }; diff --git a/systems/modules/profiles/work.nix b/systems/modules/profiles/work.nix @@ -20,7 +20,7 @@ in environment.systemPackages = with pkgs; [ krb5 (google-chrome.override { - commandLineArgs = "--auth-negotiate-delegate-whitelist='*.redhat.com' --auth-server-whitelist=.redhat.com"; + commandLineArgs = "--auth-negotiate-delegate-whitelist='*.redhat.com' --auth-server-whitelist=.redhat.com --enable-features=UseOzonePlatform --enable-gpu --ozone-platform=wayland"; }) libnotify ]; diff --git a/users/vincent/core/zsh.nix b/users/vincent/core/zsh.nix @@ -80,9 +80,9 @@ in ''; loginExtra = '' # export GOPATH=${config.home.homeDirectory} - if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then - exec sway - fi + # if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then + # exec sway + # fi ''; profileExtra = '' if [ -e /home/vincent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/vincent/.nix-profile/etc/profile.d/nix.sh; fi