Set darkmode as default
This commit is contained in:
18
desktop-environment/window-manager/dark-mode.nix
Normal file
18
desktop-environment/window-manager/dark-mode.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
|
||||||
|
config.common.default = "*";
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.sessionVariables = {
|
||||||
|
GTK_THEME = "Adwaita:dark";
|
||||||
|
COLORSCHEME = "prefer-dark";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user