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, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./firefox.nix ];
|
imports = [
|
||||||
|
./firefox.nix
|
||||||
|
./darkman.nix
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# various
|
# various
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ in
|
|||||||
./rofi.nix
|
./rofi.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./cursor.nix
|
./cursor.nix
|
||||||
|
./darkman.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user