diff options
| author | Kyren223 <contact@kyren.codes> | 2025-08-28 13:32:10 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2025-08-28 13:32:10 +0300 |
| commit | 3b7b79a79b1c31450aff22e6f4f652ad966e9341 (patch) | |
| tree | fe9e9438ba3f9312ed6fe76a37731e76f5cf07fc /modules | |
| parent | e04010cf9cac8b25ab94522013857e342aaf2ccd (diff) | |
Re-enabled Xwayland?
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/display.nix | 27 | ||||
| -rw-r--r-- | modules/hyprland.nix | 7 | ||||
| -rw-r--r-- | modules/kde.nix | 23 |
3 files changed, 27 insertions, 30 deletions
diff --git a/modules/display.nix b/modules/display.nix new file mode 100644 index 0000000..9e88f9e --- /dev/null +++ b/modules/display.nix @@ -0,0 +1,27 @@ +{ ... }: { + + programs.hyprland.enable = true; + # Optional, hint electron apps to use wayland: + # environment.sessionVariables.NIXOS_OZONE_WL = "1"; + + # # Enable the KDE Plasma Desktop Environment. + # services.displayManager.sddm.enable = true; + # services.desktopManager.plasma6.enable = true; + # services.displayManager.sddm.settings = { + # Autologin = { + # Session = "plasma.desktop"; + # User = "kyren"; + # }; + # }; + + # Enable the X11 windowing system. + # You can disable this if you're only using the Wayland session. + services.xserver.enable = true; + + # Configure keymap in X11 + services.xserver.xkb = { + layout = "us"; + variant = ""; + }; + +} diff --git a/modules/hyprland.nix b/modules/hyprland.nix deleted file mode 100644 index 3e17d99..0000000 --- a/modules/hyprland.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ ... }: { - - programs.hyprland.enable = true; - # Optional, hint electron apps to use wayland: - # environment.sessionVariables.NIXOS_OZONE_WL = "1"; - -} diff --git a/modules/kde.nix b/modules/kde.nix deleted file mode 100644 index 9b2cc2d..0000000 --- a/modules/kde.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ ... }: { - - # Enable the KDE Plasma Desktop Environment. - services.displayManager.sddm.enable = true; - services.desktopManager.plasma6.enable = true; - services.displayManager.sddm.settings = { - Autologin = { - Session = "plasma.desktop"; - User = "kyren"; - }; - }; - - # Enable the X11 windowing system. - # You can disable this if you're only using the Wayland session. - services.xserver.enable = true; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - -} |
