Remove Gnome desktop

It just feels to slow compared to qtile and I need a lot of extensions to
behave like I want.
In addition a reproducable config is quite hard to do.
This commit is contained in:
Andreas Zweili 2023-05-10 10:24:21 +02:00
parent 03cd845811
commit e1637aa5c9
7 changed files with 5 additions and 184 deletions

View File

@ -1,58 +0,0 @@
{ lib, ... }:
{
home.file.".config/touchegg/touchegg.conf".source = ./touchegg.conf;
dconf.settings = {
"org/gnome/desktop/input-sources" = {
xkb-options = [ "compose:ralt" ];
};
"org/gnome/desktop/interface" = {
color-scheme = "default";
};
"org/gnome/desktop/session" = {
idle-delay = lib.hm.gvariant.mkUint32 300;
};
"org/gnome/desktop/wm/keybindings" = {
show-desktop = [ "<Super> d" ];
switch-applications = [ "<Super>Tab" ];
witch-windows = [ "<Alt>Tab" ];
};
"org/gnome/desktop/privacy" = {
recent-files-max-age = 30;
remember-recent-files = true;
remove-old-trash-files = true;
remove-old-temp-files = true;
old-files-age = lib.hm.gvariant.mkUint32 30;
};
"org/gnome/desktop/screensaver" = {
lock-delay = "uint32 0";
lock-enabled = true;
};
"org/gnome/desktop/notifications" = {
show-in-lock-screen = false;
};
"org/gnome/settings-daemon/plugins/media-keys" = {
home = [ "<Super>e" ];
www = [ "<Super>w" ];
volume-mute = [ "<Super>F1" ];
volume-down = [ "<Super>F2" ];
volume-up = [ "<Super>F3" ];
play = [ "<Super>F6" ];
previous = [ "<Super>F5" ];
next = [ "<Super>F7" ];
};
"org/freedesktop/tracker/miner/files" = {
index-recursive-directories = [
"&DOCUMENTS"
"&MUSIC"
"&PICTURES"
"&VIDEOS"
"&DOWNLOAD"
"/home/andreas/nextcloud/10_documents"
];
};
"org/gnome/shell/app-switcher" = {
current-workspace-only = true;
};
};
}

View File

@ -1,83 +0,0 @@
<touchégg>
<settings>
<property name="animation_delay">150</property>
<property name="action_execute_threshold">20</property>
<property name="color">auto</property>
<property name="borderColor">auto</property>
</settings>
<!--
Configuration for every application.
-->
<application name="All">
<gesture type="SWIPE" fingers="3" direction="DOWN">
<action type="SHOW_DESKTOP">
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="UP">
<action type="SEND_KEYS">
<repeat>false</repeat>
<modifiers>Super_L</modifiers>
<keys>Tab</keys>
<on>begin</on>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="LEFT">
<action type="CHANGE_DESKTOP">
<direction>next</direction>
<animate>true</animate>
<animationPosition>right</animationPosition>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="RIGHT">
<action type="CHANGE_DESKTOP">
<direction>previous</direction>
<animate>true</animate>
<animationPosition>left</animationPosition>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="DOWN">
<action type="MINIMIZE_WINDOW">
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="UP">
<action type="MAXIMIZE_RESTORE_WINDOW">
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="LEFT">
<action type="TILE_WINDOW">
<direction>left</direction>
<animate>true</animate>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="RIGHT">
<action type="TILE_WINDOW">
<direction>right</direction>
<animate>true</animate>
</action>
</gesture>
<gesture type="TAP" fingers="2">
<action type="MOUSE_CLICK">
<button>3</button>
<on>begin</on>
</action>
</gesture>
<gesture type="TAP" fingers="3">
<action type="MOUSE_CLICK">
<button>2</button>
<on>begin</on>
</action>
</gesture>
</application>
</touchégg>

View File

@ -5,7 +5,6 @@ in
{
imports = [
(import "${custom.inputs.self}/home-manager/common" { inherit custom; })
"${custom.inputs.self}/home-manager/configs/gnome"
"${custom.inputs.self}/home-manager/software/alacritty"
"${custom.inputs.self}/home-manager/software/ansible"
"${custom.inputs.self}/home-manager/software/calibre"

View File

@ -4,7 +4,6 @@
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
(import "${custom.inputs.self}/modules/email" { inherit custom; })
(import "${custom.inputs.self}/modules/eog" { inherit custom; })
(import "${custom.inputs.self}/modules/gnome" { inherit custom; })
"${custom.inputs.self}/modules/hunspell"
(import "${custom.inputs.self}/modules/libimobiledevice" { inherit custom; })
(import "${custom.inputs.self}/modules/nix-direnv" { inherit custom; })
@ -56,6 +55,10 @@
# Enable Flatpack
services.flatpak.enable = true;
xdg = {
portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
mime = {
addedAssociations = {
"x-scheme-handler/http" = "firefox.desktop";

View File

@ -1,39 +0,0 @@
{ custom }: { pkgs, ... }:
{
services.switcherooControl.enable = true;
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
services.xserver.desktopManager.gnome.enable = true;
environment = {
systemPackages = with pkgs; [
gnome.gnome-tweaks
gnomeExtensions.appindicator
gnomeExtensions.gtk-title-bar
];
gnome.excludePackages = (with pkgs; [
gnome-console
gnome-text-editor
gnome-tour
]) ++ (with pkgs.gnome; [
atomix # puzzle game
cheese # webcam tool
epiphany # web browser
geary
gedit # text editor
gnome-characters
gnome-clocks
gnome-logs
gnome-maps
gnome-music
gnome-weather
hitori # sudoku game
iagno # go game
tali # poker game
totem # video player
yelp
]);
};
services.touchegg.enable = true;
}

View File

@ -2,7 +2,7 @@
{
services.xrdp = {
enable = true;
defaultWindowManager = "${pkgs.gnome.gnome-shell}/bin/gnome-shell";
defaultWindowManager = "${pkgs.qtile}/bin/qtile start";
};
networking.firewall.allowedTCPPorts = [ 3389 ];
}

View File

@ -8,7 +8,6 @@
"${custom.inputs.self}/hardware/nvidia"
"${custom.inputs.self}/hardware/dvd"
(import "${custom.inputs.self}/modules/desktop" { inherit custom; })
"${custom.inputs.self}/modules/gnome"
"${custom.inputs.self}/modules/lockscreen"
"${custom.inputs.self}/modules/logs-share"
(import "${custom.inputs.self}/modules/makemkv" { inherit custom; })