Disable BSPWM + add Gnome as a fallback

This commit is contained in:
Filippo Berto 2024-01-12 09:47:50 +01:00
parent f5f264101d
commit 2160abac77
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 11 additions and 6 deletions

View file

@ -97,12 +97,12 @@
xserver = { 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
layout = "it,us"; layout = "it,us";

View file

@ -100,7 +100,7 @@
../../modules/hm/biblio.nix ../../modules/hm/biblio.nix
../../modules/hm/bitwarden.nix ../../modules/hm/bitwarden.nix
../../modules/hm/blender.nix ../../modules/hm/blender.nix
../../modules/hm/bspwm.nix # ../../modules/hm/bspwm.nix
../../modules/hm/cava.nix ../../modules/hm/cava.nix
../../modules/hm/dunst.nix ../../modules/hm/dunst.nix
# ../../modules/hm/dwarf-fortress.nix # ../../modules/hm/dwarf-fortress.nix

View file

@ -88,7 +88,7 @@
../../modules/hm/biblio.nix ../../modules/hm/biblio.nix
../../modules/hm/bitwarden.nix ../../modules/hm/bitwarden.nix
../../modules/hm/blender_nvidia.nix ../../modules/hm/blender_nvidia.nix
../../modules/hm/bspwm.nix # ../../modules/hm/bspwm.nix
../../modules/hm/cava.nix ../../modules/hm/cava.nix
../../modules/hm/dunst.nix ../../modules/hm/dunst.nix
# ../../modules/hm/dwarf-fortress.nix # ../../modules/hm/dwarf-fortress.nix
@ -119,7 +119,6 @@
../../modules/hm/office.nix ../../modules/hm/office.nix
../../modules/hm/pass.nix ../../modules/hm/pass.nix
../../modules/hm/picom.nix ../../modules/hm/picom.nix
../../modules/hm/polybar.nix
# ../../modules/hm/pro_audio.nix # ../../modules/hm/pro_audio.nix
# ../../modules/hm/pycharm.nix # ../../modules/hm/pycharm.nix
../../modules/hm/research.nix ../../modules/hm/research.nix

View file

@ -12,6 +12,12 @@
# wayland.windowManager.hyprland = { }; # wayland.windowManager.hyprland = { };
systemd.user.targets."hyprland-login".Unit = {
Description = "User Graphical Login";
Requires = [ "graphical-session.target" ];
After = [ "graphical-session.target" ];
};
xdg.configFile."hypr/hyprland.conf".text = xdg.configFile."hypr/hyprland.conf".text =
let let
strPalette = pkgs.lib.nix-rice.palette.toRgbaShortHex pkgs.rice.colorPalette; strPalette = pkgs.lib.nix-rice.palette.toRgbaShortHex pkgs.rice.colorPalette;
@ -49,7 +55,7 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch # Execute your favorite apps at launch
exec-once = ${if nixosConfig.networking.hostName == "thor" then "xrandr --output DP-2 --primary" else "true"} & waybar & swww init & blueman-applet & nm-applet & systemctl --user restart swayidle wl-update-background easyeffects kdeconnect kdeconnect-indicator # & firefox exec-once = ${if nixosConfig.networking.hostName == "thor" then "xrandr --output DP-2 --primary" else "true"} & waybar & swww init & systemctl --user start hyprland-login
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf