Compare commits

...

2 Commits

Author SHA1 Message Date
9faffed04b make the library there 2024-03-26 20:52:01 -08:00
a6047b7620 separate dconf settings into new file 2024-03-26 20:50:46 -08:00
2 changed files with 62 additions and 54 deletions

View File

@ -2,6 +2,9 @@
with lib.hm.gvariant;
{
imports = [
./modules/dconf.nix
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "mir";
@ -99,60 +102,7 @@ with lib.hm.gvariant;
# source = inputs.emacs-config;
# recursive = true;
# };
home.file.".face".source = builtins.fetchurl {
url = "https://marq42.xyz/rena.webp";
sha256 = "10x3qvfdp79fmbbi7ljnqx419xmwpiyyr4pfxhynh3xq7fd0laz2";
};
# programs.dconf.enable = true;
home.file.".local/share/backgrounds/mojave.jpg".source = builtins.fetchurl {
url = "https://www.teahub.io/photos/full/154-1542362_mac-os-mojave-screenshot.jpg";
sha256 = "0vrcn44aibdsl1hc6n0jbp0znpwhcb4hyhbzs5690i1nrapcmyka";
};
dconf.settings = {
"org/gnome/shell" = {
"favorite-apps" = [
"org.gnome.Console.desktop"
"firefox.desktop"
"emacs.desktop"
"org.gnome.Settings.desktop"
"org.gnome.Nautilus.desktop"
"btop.desktop"
];
};
"org/gnome/desktop/interface" = {
"color-scheme" = "prefer-dark";
};
"org/gnome/mutter" = {
"edge-tiling" = true;
};
"org/gnome/desktop/background" = {
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
};
"org/gnome/desktop/screensaver" = {
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
};
"org/gnome/desktop/input-sources" = {
"xkb-options" = [ "caps:escape" ];
};
"org/gnome/desktop/wm/preferences" = {
"focus-mode" = "sloppy";
};
"org/gnome/settings-daemon/plugins/power" = {
"idle-dim" = false;
"sleep-inactive-ac-type" = "nothing";
};
"org/gnome/gnome-system-monitor" = {
"current-tab" = "resources";
};
"org/gnome/desktop/interface" = {
"show-battery-percentage" = true;
};
"org/gnome/desktop/session" = {
"idle-delay" = mkUint32 0;
};
};
programs.hyfetch = {
enable = true;
settings = {

58
modules/dconf.nix Normal file
View File

@ -0,0 +1,58 @@
{ config, lib, pkgs, ... }:
with lib.hm.gvariant;
{
home.file.".face".source = builtins.fetchurl {
url = "https://marq42.xyz/rena.webp";
sha256 = "10x3qvfdp79fmbbi7ljnqx419xmwpiyyr4pfxhynh3xq7fd0laz2";
};
# programs.dconf.enable = true;
home.file.".local/share/backgrounds/mojave.jpg".source = builtins.fetchurl {
url = "https://www.teahub.io/photos/full/154-1542362_mac-os-mojave-screenshot.jpg";
sha256 = "0vrcn44aibdsl1hc6n0jbp0znpwhcb4hyhbzs5690i1nrapcmyka";
};
dconf.settings = {
"org/gnome/shell" = {
"favorite-apps" = [
"org.gnome.Console.desktop"
"firefox.desktop"
"emacs.desktop"
"org.gnome.Settings.desktop"
"org.gnome.Nautilus.desktop"
"btop.desktop"
];
};
"org/gnome/desktop/interface" = {
"color-scheme" = "prefer-dark";
};
"org/gnome/mutter" = {
"edge-tiling" = true;
};
"org/gnome/desktop/background" = {
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
};
"org/gnome/desktop/screensaver" = {
"picture-uri" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
"picture-uri-dark" = "file:///home/mir/.local/share/backgrounds/mojave.jpg";
};
"org/gnome/desktop/input-sources" = {
"xkb-options" = [ "caps:escape" ];
};
"org/gnome/desktop/wm/preferences" = {
"focus-mode" = "sloppy";
};
"org/gnome/settings-daemon/plugins/power" = {
"idle-dim" = false;
"sleep-inactive-ac-type" = "nothing";
};
"org/gnome/gnome-system-monitor" = {
"current-tab" = "resources";
};
"org/gnome/desktop/interface" = {
"show-battery-percentage" = true;
};
"org/gnome/desktop/session" = {
"idle-delay" = mkUint32 0;
};
};
}