some changes to sessionvariables for toothpick

This commit is contained in:
cnst
2024-07-19 15:38:04 +02:00
parent f10ce0a603
commit a55a34afae
6 changed files with 21 additions and 24 deletions

24
flake.lock generated
View File

@@ -70,11 +70,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1721236582, "lastModified": 1721305797,
"narHash": "sha256-MAYLNlFBDY8Ufd2BgwUN5SO6UYqp+5AfLZQYob3B5tk=", "narHash": "sha256-6ZXDxEqq11tHivRGKSFuOkrpfvoSuNbGMSjXFIQx2cE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "flake-firefox-nightly", "repo": "flake-firefox-nightly",
"rev": "36870759aca01fbc590f0ab9b199bc961145b70a", "rev": "96dbe6709c070c0329e7fee3385784ade6b07703",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -320,11 +320,11 @@
}, },
"hardware": { "hardware": {
"locked": { "locked": {
"lastModified": 1720737798, "lastModified": 1721323232,
"narHash": "sha256-G/OtEAts7ZUvW5lrGMXSb8HqRp2Jr9I7reBuvCOL54w=", "narHash": "sha256-T4K2P8FayLshsIkY04i7M8qs0aQY5ugf8HsghqGONCc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "c5013aa7ce2c7ec90acee5d965d950c8348db751", "rev": "ede1f14cc21e811a605f16c6b69bd3e8425383d7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -504,11 +504,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1720954236, "lastModified": 1721226092,
"narHash": "sha256-1mEKHp4m9brvfQ0rjCca8P1WHpymK3TOr3v34ydv9bs=", "narHash": "sha256-UBvzVpo5sXSi2S/Av+t+Q+C2mhMIw/LBEZR+d6NMjws=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "53e81e790209e41f0c1efa9ff26ff2fd7ab35e27", "rev": "c716603a63aca44f39bef1986c13402167450e0a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -520,11 +520,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1720957393, "lastModified": 1721138476,
"narHash": "sha256-oedh2RwpjEa+TNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA=", "narHash": "sha256-+W5eZOhhemLQxelojLxETfbFbc19NWawsXBlapYpqIA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "693bc46d169f5af9c992095736e82c3488bf7dbb", "rev": "ad0b5eed1b6031efaed382844806550c3dcb4206",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -19,10 +19,4 @@
]; ];
}; };
}; };
home.sessionVariables = {
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland";
XDG_SESSION_TYPE = "wayland";
};
} }

View File

@@ -43,6 +43,9 @@
BROWSER = "firefox"; BROWSER = "firefox";
EDITOR = "nvim"; EDITOR = "nvim";
TERM = "foot"; TERM = "foot";
QT_QPA_PLATFORM = "wayland";
SDL_VIDEODRIVER = "wayland";
XDG_SESSION_TYPE = "wayland";
}; };
}; };
} }

View File

@@ -32,6 +32,7 @@
adwaita-icon-theme adwaita-icon-theme
qt5.qtwayland qt5.qtwayland
qt6.qtwayland qt6.qtwayland
egl-wayland
# thefuck # thefuck
wireguard-tools wireguard-tools
wl-clipboard wl-clipboard
@@ -43,6 +44,9 @@
BROWSER = "firefox"; BROWSER = "firefox";
EDITOR = "nvim"; EDITOR = "nvim";
TERM = "foot"; TERM = "foot";
QT_QPA_PLATFORM = "wayland-egl";
SDL_VIDEODRIVER = "wayland";
XDG_SESSION_TYPE = "wayland";
}; };
}; };
} }

View File

@@ -6,10 +6,6 @@
zramSwap.enable = true; zramSwap.enable = true;
hardware = { hardware = {
bluetooth = {
enable = true;
powerOnBoot = true;
};
logitech.wireless = { logitech.wireless = {
enable = true; enable = true;
enableGraphical = true; enableGraphical = true;

View File

@@ -12,7 +12,7 @@
../../locale ../../locale
# services # services
../../services/blueman.nix #../../services/blueman.nix
../../services/dbus.nix ../../services/dbus.nix
../../services/gnome-keyring.nix ../../services/gnome-keyring.nix
../../services/greetd.nix ../../services/greetd.nix