Skip to content

Commit

Permalink
Replace hyprland/wayland with gnome/x11
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKnarf committed Jul 14, 2024
1 parent 3645e89 commit 0f5a4d1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion os/nixos/home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
imports = [
./env.nix
./wayland.nix
# ./wayland.nix
./eww.nix
./apps.nix
];
Expand Down
2 changes: 1 addition & 1 deletion os/nixos/host/mods/audio-video.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:

{
services.seatd.enable = true; # seatd is needed to run hyprland
#services.seatd.enable = true; # seatd is needed to run hyprland

environment.sessionVariables = {
# Hint electron apps to use wayland
Expand Down
21 changes: 21 additions & 0 deletions os/nixos/host/mods/gnome-x11.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ config, pkgs, ... }:

{
environment.systemPackages = with pkgs; [
kitty # Terminal emulator
xorg.xinit
];

services.xserver = {
enable = true;

displayManager = {
gdm.enable = true;
gdm.wayland = false;
};

desktopManager = {
gnome.enable = true;
};
};
}
1 change: 1 addition & 0 deletions os/nixos/host/nixos.config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
./mods/steam.nix
./mods/audio-video.nix
./mods/virtual.nix
./mods/gnome-x11.nix
];

# Enable flakes
Expand Down

0 comments on commit 0f5a4d1

Please sign in to comment.