mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: small env related inaccuracies
Some checks failed
Flake check / Check flake (push) Has been cancelled
Some checks failed
Flake check / Check flake (push) Has been cancelled
This commit is contained in:
parent
5229a4c480
commit
6ea3851e72
18 changed files with 1415 additions and 1310 deletions
|
|
@ -1,7 +1,22 @@
|
|||
{ self, lib, pkgs, ... }:
|
||||
{
|
||||
_module.args = {
|
||||
vars = {
|
||||
vars = rec {
|
||||
waylandSessionVariables = {
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
QT_QPA_PLATFORM = "wayland-egl";
|
||||
ANKI_WAYLAND = "1";
|
||||
OBSIDIAN_USE_WAYLAND = "1";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
};
|
||||
|
||||
waylandExports =
|
||||
let
|
||||
renderedWaylandExports = map (key: "export ${key}=${waylandSessionVariables.${key}};") (builtins.attrNames waylandSessionVariables);
|
||||
in
|
||||
builtins.concatStringsSep "\n" renderedWaylandExports;
|
||||
|
||||
stylix = {
|
||||
polarity = "dark";
|
||||
opacity.popups = 0.5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue