gnome module

This commit is contained in:
ari committed 2025-05-02 13:34:51 -04:00
1 parent d6943e12cf
commit b4218bdd7d
4 files changed
+555 -6

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ in
./x11.nix
./packages.nix
./crypto.nix
./gnome.nix
];
options = {
+31
View File
@@ -0,0 +1,31 @@
{ config, lib, pkgs, ... }:
let
cfg = config.skyg.nixos.desktop.gnome;
in
{
options = {
skyg.nixos.desktop.gnome = {
enable = lib.mkEnableOption
"gnome";
};
};
config = lib.mkIf cfg.enable {
services.xserver.desktopManager.gnome.enable = true;
environment.gnome.excludePackages = with pkgs; [
gnome-tour
gnome-text-editor
gnome-console
];
home-manager.users.${config.skyg.user.name}.dconf.settings = {
"org/gnome/desktop/wm/keybindings" = {
close = [ "<Super> q" ];
maximize = [ "<Super> m" ];
move-to-workspace-last = [ "<Shift> <Alt> <Super> Right" ];
move-to-workspace-left = [ "<Alt> <Super> Left" ];
move-to-workspace-right = [ "<Alt><Super>Right" ];
switch-to-workspace-left = [ "<Super>Left" ];
switch-to-workspace-right = [ "<Super>Right" ];
};
};
};
}