more gnome config managed by nix

This commit is contained in:
Vinzenz Schroeter 2023-11-06 13:53:11 +01:00
parent c45080ccd5
commit 50b0025f12
3 changed files with 43 additions and 4 deletions

View file

@ -9,13 +9,44 @@ in {
config = lib.mkIf isEnabled { config = lib.mkIf isEnabled {
home-manager.sharedModules = [ home-manager.sharedModules = [
{ {
home.packages = with pkgs; [ home.packages = with pkgs;
[
amberol amberol
]; ]
++ (with gnome; [
dconf-editor
gpaste
])
++ (with gnomeExtensions; [
caffeine
appindicator
gsconnect
]);
dconf.settings = { dconf.settings = {
"org/gnome/desktop/peripherals/keyboard" = { "org/gnome/desktop/peripherals/keyboard" = {
numlock-state = true; numlock-state = true;
}; };
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
"org/gnome/tweaks" = {
show-extensions-notice = false;
};
"ca/desrt/dconf-editor" = {
show-warning = false;
};
"org/gnome/shell" = {
disable-user-extensions = false;
disabled-extensions = [];
enabled-extensions = [
"appindicatorsupport@rgcjonas.gmail.com"
"workspace-indicator@gnome-shell-extensions.gcampax.github.com"
"caffeine@patapon.info"
"GPaste@gnome-shell-extensions.gnome.org"
"gsconnect@andyholmes.github.io"
];
};
}; };
} }
]; ];

View file

@ -14,17 +14,23 @@ in {
services = { services = {
xserver = { xserver = {
# Enable the GNOME Desktop Environment. # Enable the GNOME Desktop Environment.
displayManager.gdm.enable = true; displayManager = {
gdm.enable = true;
defaultSession = "gnome";
};
desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;
}; };
gnome = { gnome = {
tracker-miners.enable = false; tracker-miners.enable = false;
tracker.enable = false; tracker.enable = false;
sushi.enable = true;
#gnome-remote-desktop.enable = true;
}; };
}; };
programs = { programs = {
dconf.enable = true;
gpaste.enable = true; gpaste.enable = true;
kdeconnect.package = pkgs.gnomeExtensions.gsconnect; kdeconnect.package = pkgs.gnomeExtensions.gsconnect;
}; };

View file

@ -123,6 +123,8 @@
"workbench.enableExperiments" = false; "workbench.enableExperiments" = false;
"workbench.iconTheme" = "material-icon-theme"; "workbench.iconTheme" = "material-icon-theme";
"rust-analyzer.checkOnSave.command" = "clippy"; "rust-analyzer.checkOnSave.command" = "clippy";
"extensions.autoUpdate" = false;
"extensions.autoCheckUpdates" = false;
}; };
}; };