diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-11 13:27:18 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-11 13:29:38 +0100 |
commit | 5bd756eaf27882820cb59e0ecf9c305f08b3b3e3 (patch) | |
tree | 7c9a2be8c947b6fb4ae3e144a0cf8de3c61b0efc /modules | |
parent | 249ebd12a60a8828f79af0a36b1e049afac8b4d0 (diff) |
modules/user/sternenseemann/sway: fix startup by enabling opengl
sway needs opengl driver's to be enabled and loadable in order to start. I previously didn't notice this oversight as I still had them loaded and did not reboot after the rebuild.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/sternenseemann/services/sway.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user/sternenseemann/services/sway.nix b/modules/user/sternenseemann/services/sway.nix index 8a81c41c..e575e9d7 100644 --- a/modules/user/sternenseemann/services/sway.nix +++ b/modules/user/sternenseemann/services/sway.nix @@ -154,6 +154,8 @@ in { security.pam.services.swaylock = {}; + hardware.opengl.enable = true; + environment.etc = { "sway/config".text = '' # correct DPI after hotplugging |