gnome: add gnome user settings

This commit is contained in:
Leonardo Eugênio 2023-04-19 00:25:28 -03:00
parent 74b5ba8c13
commit f396b3cfbd
3 changed files with 17 additions and 1 deletions

15
user/gnome.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, lib, ... }: lib.mkIf (pkgs.uservars.desktop == "gnome") {
dconf.settings = with pkgs; with uservars.theme; {
"org/gnome/desktop/interface" = {
gtk-theme = gtk_theme;
icon-theme = icon_theme;
cursor-theme = cursor_theme;
color-scheme = "prefer-${color.type}";
};
"org/gnome/desktop/wm/preferences" = lib.mkForce {
button-layout = "menu:close";
};
};
}

View file

@ -31,6 +31,7 @@
./man.nix
./mpd.nix
./sway
./gnome.nix
./thunar.nix
inputs.hyprland.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index

View file

@ -14,7 +14,7 @@ in
./swaylock.nix
./theme.nix
];
config = {
config = lib.mkIf (pkgs.uservars.desktop == "sway") {
programs.mako.enable = true;
services.swayidle.enable = true;
services.kanshi.enable = true;