Fixing Hyprland crash
This commit is contained in:
1
modules/nixos/gui/default.nix
Normal file
1
modules/nixos/gui/default.nix
Normal file
@ -0,0 +1 @@
|
||||
{ ... }: { imports = [ ./audio ./games ./greet ./xserver ]; }
|
@ -3,14 +3,11 @@ let cfg = config.hostcfg.make.gui;
|
||||
in {
|
||||
config = lib.mkIf cfg {
|
||||
|
||||
environment.systemPackages = with pkgs; [ hyprland ];
|
||||
# environment.systemPackages = with pkgs; [ bspwm ];
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
initial_session = {
|
||||
command = "zsh -c '${pkgs.hyprland}/bin/Hyprland'";
|
||||
command = "zsh";
|
||||
user = "${config.hostcfg.username}";
|
||||
};
|
||||
default_session = initial_session;
|
||||
|
Reference in New Issue
Block a user