chore: update imputs

This commit is contained in:
Moritz Böhme 2024-07-01 07:06:23 +02:00
parent 17ab5faf24
commit 891283aa43
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
5 changed files with 189 additions and 207 deletions

View file

@ -12,10 +12,8 @@ in
options.my.programs.sway.enable = mkEnableOption "sway";
config = lib.mkIf cfg.enable {
hardware.opengl = {
enable = true;
driSupport = true;
};
hardware.opengl.enable = true;
environment.loginShellInit = ''
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
exec sway