From 78ce3bafd5db406598b2d2f44d2616396d1fedef Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Mon, 14 Feb 2022 15:16:35 +0000 Subject: [PATCH] gnom e --- LAPPY_SETUP_GUIDE.md | 63 ++++++++++++++++++++- home/gui/environments/gnome/default.nix | 7 ++- hosts/lappy/lappy.nix | 12 +++- profiles/gui/environments/gnome/default.nix | 16 +++++- 4 files changed, 92 insertions(+), 6 deletions(-) diff --git a/LAPPY_SETUP_GUIDE.md b/LAPPY_SETUP_GUIDE.md index 06e0d3a..308a4f2 100644 --- a/LAPPY_SETUP_GUIDE.md +++ b/LAPPY_SETUP_GUIDE.md @@ -25,6 +25,62 @@ mkfs.ext4 -L nixos ${DEVICE_UNENCRYPTED_ROOT} unbase64 it from vault ## NetworkManager Grab passwords from Vault +## Gnome +(if using gnome) +### Settings App +#### Mouse Settings +Disable Natural Scrolling +#### Multitasking +Fixed number of workspaces: 9 +#### Keyboard +Set keyboard to UK English Default +#### Keyboard Shortcuts +Alt+Num for all workspace switch +Alt+Shift+Num for all move window +Alt+F for Fullscreen +Alt+Shift+F for Maximize +Print for save screenshot to clipboard +Shift+Print for screenshot area +Alt+Shift+Q for close window +Custom Alt+Enter for `kitty` +Custom: Alt+D for `rofi -show run` +Run these because gnome cant do this: +``` +for i in {1..9} +do +dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-${i} "['${i}']" +done + +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-1 "['exclam']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-2 "['quotedbl']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-3 "['sterling']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-4 "['dollar']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['percent']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-6 "['asciicircum']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-7 "['ampersand']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-8 "['asterisk']" +dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-9 "['parenleft']" + + +``` +#### Accessability +Cursor Size: Medium +Disable Animations +### Gnome-Extensions-App +Enable Just Perfection +### Just Pefection +Custom +Disable Workspace Popup +Disable Search +Disable Dash +Animation: No. + +### Gnome-Tweaks +Fonts: All to whatever readable comic sans/code +Hinting: Full +Antialiasing: Subpixel +Top Bar: Enable battery percentage +Clock: Enable All ## Browser (vivaldi) ### Settings #### General @@ -33,7 +89,12 @@ Startup With: Start Page #### Appearance Use Animation: NO! #### Themes -Theme: Private +Theme: Custom +Background: #2e3440 +Foreground: #eceff4 +Highlight: #88c0d0 +Accent: #4c566a +Corner Rounding: 2 #### Tabs - Display Close Button: Permanantly - Active Tab Minimum Width: 150px diff --git a/home/gui/environments/gnome/default.nix b/home/gui/environments/gnome/default.nix index 35ef2a5..81042e0 100644 --- a/home/gui/environments/gnome/default.nix +++ b/home/gui/environments/gnome/default.nix @@ -1 +1,6 @@ -{...}: {} \ No newline at end of file +{tree, ...}: { + imports = with tree; [ + home.apps.kitty + home.apps.rofi + ]; +} \ No newline at end of file diff --git a/hosts/lappy/lappy.nix b/hosts/lappy/lappy.nix index 360c0a2..1043f81 100644 --- a/hosts/lappy/lappy.nix +++ b/hosts/lappy/lappy.nix @@ -44,14 +44,14 @@ home.gui home.gui.environments.sway - home.gui.environment.gnome + home.gui.environments.gnome #home.gaming.emulators.ds #home.gaming.games.minecraft #home.gaming.games.osu #home.gaming.platforms.steam - #home.bluetooth + home.bluetooth home.network_manager home.apps.vivaldi @@ -71,6 +71,14 @@ ]; }; + hardware.opengl.extraPackages = with pkgs; [ + vaapiIntel + vaapiVdpau + libvdpau-va-gl + intel-media-driver + ]; + + services.getty.extraArgs = [ "--skip-login" "--login-options" "chaos" ]; diff --git a/profiles/gui/environments/gnome/default.nix b/profiles/gui/environments/gnome/default.nix index 6d05c3f..795c2b7 100644 --- a/profiles/gui/environments/gnome/default.nix +++ b/profiles/gui/environments/gnome/default.nix @@ -1,8 +1,10 @@ -_: { +{ pkgs, lib, ... }: { services.xserver = { enable = true; displayManager.gdm.enable = true; desktopManager.gnome.enable = true; + displayManager.gdm.wayland = false; + }; environment.gnome.excludePackages = [ pkgs.gnome.cheese @@ -21,7 +23,17 @@ _: { pkgs.gnome-tour pkgs.gnome.geary ]; - environment.systemPackages = with pkgs; [ gnomeExtensions.appindicator ]; + environment.systemPackages = with pkgs; [ + gnomeExtensions.appindicator + gnome.gnome-tweaks + gnomeExtensions.just-perfection + ]; services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ]; + + services.power-profiles-daemon.enable = lib.mkForce false; + hardware.pulseaudio.enable = lib.mkForce false; + programs.dconf.enable = true; + + services.xserver = { layout = "gb"; }; }