wip
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user