mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
Toggle dark/light mode
This commit is contained in:
parent
079daf44ab
commit
53f70f0a4e
@ -13,6 +13,20 @@
|
||||
./hyprland
|
||||
];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
||||
};
|
||||
|
||||
services.darkman = {
|
||||
enable = true;
|
||||
settings.portal = true;
|
||||
};
|
||||
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
policies = {
|
||||
|
Loading…
Reference in New Issue
Block a user