gnome: add gnome user settings
This commit is contained in:
parent
74b5ba8c13
commit
f396b3cfbd
15
user/gnome.nix
Normal file
15
user/gnome.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -31,6 +31,7 @@
|
||||||
./man.nix
|
./man.nix
|
||||||
./mpd.nix
|
./mpd.nix
|
||||||
./sway
|
./sway
|
||||||
|
./gnome.nix
|
||||||
./thunar.nix
|
./thunar.nix
|
||||||
inputs.hyprland.homeManagerModules.default
|
inputs.hyprland.homeManagerModules.default
|
||||||
inputs.nix-index-database.hmModules.nix-index
|
inputs.nix-index-database.hmModules.nix-index
|
||||||
|
|
|
@ -14,7 +14,7 @@ in
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
./theme.nix
|
./theme.nix
|
||||||
];
|
];
|
||||||
config = {
|
config = lib.mkIf (pkgs.uservars.desktop == "sway") {
|
||||||
programs.mako.enable = true;
|
programs.mako.enable = true;
|
||||||
services.swayidle.enable = true;
|
services.swayidle.enable = true;
|
||||||
services.kanshi.enable = true;
|
services.kanshi.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue