Compare commits
2 Commits
2de770fe5c
...
9faffed04b
Author | SHA1 | Date | |
---|---|---|---|
9faffed04b | |||
a6047b7620 |
58
home.nix
58
home.nix
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
with lib.hm.gvariant;
|
with lib.hm.gvariant;
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./modules/dconf.nix
|
||||||
|
];
|
||||||
# Home Manager needs a bit of information about you and the
|
# Home Manager needs a bit of information about you and the
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
home.username = "mir";
|
home.username = "mir";
|
||||||
@ -99,60 +102,7 @@ with lib.hm.gvariant;
|
|||||||
# source = inputs.emacs-config;
|
# source = inputs.emacs-config;
|
||||||
# recursive = true;
|
# 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 = {
|
programs.hyfetch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
58
modules/dconf.nix
Normal file
58
modules/dconf.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user