mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
gnome settings: night light, epiphany
This commit is contained in:
parent
f31c1ae0e0
commit
d429891173
@ -15,12 +15,15 @@
|
||||
# - Dump new settings
|
||||
# dconf dump / > dconf-new.ini
|
||||
# - Display changes
|
||||
# diff dconf-old.ini dconf-new.ini
|
||||
# diff --context=5 dconf-old.ini dconf-new.ini
|
||||
# - Add to `dconf.settings` below.
|
||||
|
||||
# Restore settings:
|
||||
# dconf load / < dconf-old.ini
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, lib, ... }: {
|
||||
home.file = {
|
||||
# Templates to create new Files with Nautilus.
|
||||
# It is also possible to group them by category
|
||||
@ -73,10 +76,30 @@
|
||||
old-files-age = 30;
|
||||
};
|
||||
|
||||
# Settings > Display > Night Light
|
||||
"org/gnome/settings-daemon/plugins/color" = {
|
||||
night-light-enabled = true;
|
||||
night-light-temperature = lib.hm.gvariant.mkUint32 3700;
|
||||
|
||||
# Night light always on
|
||||
night-light-schedule-automatic = false;
|
||||
#night-light-temperature = "uint32 3700";
|
||||
night-light-schedule-from = 2.0;
|
||||
night-light-schedule-to = 2.0;
|
||||
};
|
||||
|
||||
# Epiphany (GNOME Web)
|
||||
"org/gnome/epiphany" = {
|
||||
ask-for-default = false;
|
||||
|
||||
homepage-url = "https://www.startpage.com/";
|
||||
default-search-engine = "StartPage";
|
||||
|
||||
# search-engine-providers = ...;
|
||||
# Could be helpful:
|
||||
# https://github.com/matthewpi/nixos-config/blob/a6b7303f7a4a154d9d21a5ec25e725792214e3f2/users/matthew/desktop/gtk.nix#L154
|
||||
# https://nix-community.github.io/home-manager/ -> hm.gvariant
|
||||
# Value:
|
||||
# [{'url': <'https://duckduckgo.com/?q=%s&t=epiphany'>, 'bang': <'!ddg'>, 'name': <'DuckDuckGo'>}, {'url': <'https://www.example.com/search?q=%s'>, 'bang': <''>, 'name': <'New search engine'>}, {'url': <'https://www.startpage.com/sp/search?query=%s'>, 'bang': <'!sp'>, 'name': <'StartPage'>}]
|
||||
};
|
||||
|
||||
"org/gnome/mutter" = {
|
||||
|
Loading…
Reference in New Issue
Block a user