Gnome is buggy as usual. Getting back to bspwm

This commit is contained in:
Filippo Berto 2022-12-04 15:48:28 +01:00
parent d32d92fcd4
commit 47efbd750a
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
8 changed files with 33 additions and 28 deletions

View file

@ -3,7 +3,7 @@
enable = true; enable = true;
# blur = true; # blur = true;
experimentalBackends = true; # experimentalBackends = true;
fade = false; fade = false;
shadow = true; shadow = true;
vSync = true; vSync = true;

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
./nautilus.nix # ./nautilus.nix
# ./thunar.nix # ./thunar.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -19,7 +19,7 @@
let let
primaryTerminal = "kitty"; primaryTerminal = "kitty";
secondaryTerminal = "terminator"; secondaryTerminal = "terminator";
fileManager = "nautilus"; fileManager = "thunar";
emojiChooser = "rofimoji --skin-tone light -a copy"; emojiChooser = "rofimoji --skin-tone light -a copy";
yad = "${pkgs.yad}/bin/yad"; yad = "${pkgs.yad}/bin/yad";
notify = "${pkgs.libnotify}/bin/notify-send"; notify = "${pkgs.libnotify}/bin/notify-send";

View file

@ -63,12 +63,12 @@ with lib; {
services.xserver = { services.xserver = {
enable = true; enable = true;
# Enable the GNOME 3 Desktop Environment. # Enable the GNOME 3 Desktop Environment.
desktopManager.gnome.enable = true; # desktopManager.gnome.enable = true;
# desktopManager.plasma5 = { # desktopManager.plasma5 = {
# enable = true; # enable = true;
# runUsingSystemd = true; # runUsingSystemd = true;
# }; # };
# windowManager.bspwm.enable = true; windowManager.bspwm.enable = true;
# Configure keymap in X11 # Configure keymap in X11

View file

@ -16,7 +16,12 @@
libvdpau-va-gl libvdpau-va-gl
]; ];
services.xserver.displayManager.gdm.enable = true; # services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.sddm = {
enable = true;
autoNumlock = true;
theme = "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
};
# This runs only Intel and nvidia does not drain power. # This runs only Intel and nvidia does not drain power.
##### disable nvidia for a very nice battery life. ##### disable nvidia for a very nice battery life.

View file

@ -1,7 +1,7 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ { pkgs, ... }: {
boot.initrd.kernelModules = [ "i915" ]; boot.initrd.kernelModules = [ "i915" ];
# boot.kernelPackages = pkgs.linuxPackages; # boot.kernelPackages = pkgs.linuxPackages;
@ -13,7 +13,7 @@
# }; # };
}; };
services.displayManager.sddm = { services.xserver.displayManager.sddm = {
enable = true; enable = true;
autoNumlock = true; autoNumlock = true;
theme = "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance"; theme = "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";

View file

@ -114,11 +114,11 @@
../hm_modules/alacritty.nix ../hm_modules/alacritty.nix
../hm_modules/autorandr.nix ../hm_modules/autorandr.nix
../hm_modules/blender.nix ../hm_modules/blender.nix
# ../hm_modules/bspwm.nix ../hm_modules/bspwm.nix
../hm_modules/cava.nix ../hm_modules/cava.nix
../hm_modules/easyeffects.nix ../hm_modules/easyeffects.nix
# ../hm_modules/dunst.nix # ../hm_modules/dunst.nix
../hm_modules/gnome_shell.nix # ../hm_modules/gnome_shell.nix
# ../hm_modules/grobi.nix # ../hm_modules/grobi.nix
../hm_modules/gtk_theme.nix ../hm_modules/gtk_theme.nix
../hm_modules/heif.nix ../hm_modules/heif.nix
@ -143,7 +143,7 @@
# ../hm_modules/onedrive.nix # ../hm_modules/onedrive.nix
../hm_modules/pass.nix ../hm_modules/pass.nix
../hm_modules/picom.nix ../hm_modules/picom.nix
# ../hm_modules/polybar.nix ../hm_modules/polybar.nix
# ../hm_modules/pro_audio.nix # ../hm_modules/pro_audio.nix
# ../hm_modules/pycharm.nix # ../hm_modules/pycharm.nix
../hm_modules/rofi.nix ../hm_modules/rofi.nix
@ -152,11 +152,11 @@
../hm_modules/sxhkd.nix ../hm_modules/sxhkd.nix
../hm_modules/syncthing.nix ../hm_modules/syncthing.nix
../hm_modules/terminator.nix ../hm_modules/terminator.nix
# ../hm_modules/thunar.nix ../hm_modules/thunar.nix
# ../hm_modules/twmn.nix ../hm_modules/twmn.nix
../hm_modules/update_background.nix ../hm_modules/update_background.nix
../hm_modules/webapp.nix ../hm_modules/webapp.nix
# ../hm_modules/xidlehook.nix ../hm_modules/xidlehook.nix
../hm_modules/zathura.nix ../hm_modules/zathura.nix
]; ];

View file

@ -162,17 +162,17 @@ with lib; {
xserver = { xserver = {
enable = true; enable = true;
desktopManager = { desktopManager = {
gnome.enable = true; # gnome.enable = true;
# cinnamon.enable = true; # cinnamon.enable = true;
# plasma5 = { enable = true; runUsingSystemd = true; useQtScaling = true; }; # plasma5 = { enable = true; runUsingSystemd = true; useQtScaling = true; };
}; };
windowManager.bspwm = { enable = true; }; windowManager.bspwm = { enable = true; };
displayManager.gdm = { enable = true; }; # displayManager.gdm = { enable = true; };
# displayManager.sddm = { displayManager.sddm = {
# enable = true; enable = true;
# theme = theme =
# "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance"; "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
# }; };
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
layout = "us,it"; layout = "us,it";

View file

@ -96,11 +96,11 @@
../hm_modules/alacritty.nix ../hm_modules/alacritty.nix
../hm_modules/autorandr.nix ../hm_modules/autorandr.nix
../hm_modules/blender.nix ../hm_modules/blender.nix
# ../hm_modules/bspwm.nix ../hm_modules/bspwm.nix
../hm_modules/cava.nix ../hm_modules/cava.nix
../hm_modules/easyeffects.nix ../hm_modules/easyeffects.nix
# ../hm_modules/dunst.nix # ../hm_modules/dunst.nix
../hm_modules/gnome_shell.nix # ../hm_modules/gnome_shell.nix
# ../hm_modules/grobi.nix # ../hm_modules/grobi.nix
../hm_modules/gtk_theme.nix ../hm_modules/gtk_theme.nix
../hm_modules/heif.nix ../hm_modules/heif.nix
@ -115,7 +115,7 @@
../hm_modules/mangohud.nix ../hm_modules/mangohud.nix
../hm_modules/megasync.nix ../hm_modules/megasync.nix
../hm_modules/mpv.nix ../hm_modules/mpv.nix
../hm_modules/nautilus.nix # ../hm_modules/nautilus.nix
../hm_modules/nix-index.nix ../hm_modules/nix-index.nix
../hm_modules/noti.nix ../hm_modules/noti.nix
../hm_modules/nushell.nix ../hm_modules/nushell.nix
@ -124,7 +124,7 @@
# ../hm_modules/onedrive.nix # ../hm_modules/onedrive.nix
../hm_modules/pass.nix ../hm_modules/pass.nix
../hm_modules/picom.nix ../hm_modules/picom.nix
# ../hm_modules/polybar.nix ../hm_modules/polybar.nix
../hm_modules/pro_audio.nix ../hm_modules/pro_audio.nix
../hm_modules/rofi.nix ../hm_modules/rofi.nix
# ../hm_modules/screen_locker.nix # ../hm_modules/screen_locker.nix
@ -132,11 +132,11 @@
../hm_modules/sxhkd.nix ../hm_modules/sxhkd.nix
../hm_modules/syncthing.nix ../hm_modules/syncthing.nix
../hm_modules/terminator.nix ../hm_modules/terminator.nix
# ../hm_modules/thunar.nix ../hm_modules/thunar.nix
# ../hm_modules/twmn.nix ../hm_modules/twmn.nix
../hm_modules/update_background.nix ../hm_modules/update_background.nix
../hm_modules/webapp.nix ../hm_modules/webapp.nix
# ../hm_modules/xidlehook.nix ../hm_modules/xidlehook.nix
../hm_modules/zathura.nix ../hm_modules/zathura.nix
]; ];