This commit is contained in:
Miguel Palhas
2025-01-13 10:35:52 +00:00
parent 200d947eb8
commit 4d39d6516d
3 changed files with 30 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
dconf
];
services.darkman = {
enable = true;
darkModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write\
/org/gnome/desktop/interface/color-scheme "'prefer-dark'"
'';
};
lightModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write\
/org/gnome/desktop/interface/color-scheme "'prefer-light'"
'';
};
settings = {
usegeoclue = true;
};
};
}
+4 -1
View File
@@ -1,6 +1,9 @@
{ pkgs, ... }:
{
imports = [ ./firefox.nix ];
imports = [
./firefox.nix
./darkman.nix
];
home.packages = with pkgs; [
# various
@@ -7,6 +7,7 @@ in
./rofi.nix
./dunst.nix
./cursor.nix
./darkman.nix
];
home.packages = with pkgs; [