Skip to content

Commit

Permalink
nixos/modules: merge aplaz & adrastea greetd configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Oct 20, 2023
1 parent 17ff17c commit d8ac97f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
11 changes: 1 addition & 10 deletions nixos/configurations/adrastea/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,7 @@

services.xserver.displayManager.sddm.enable = lib.mkForce false;

services.greetd = {
enable = true;
settings = rec {
default_session = {
command = "startplasma-wayland";
user = "lyc";
};
initial_session = default_session;
};
};
services.greetd.enable = true;


# Workaround of nixpkgs#187963 and nixpkgs#199881
Expand Down
11 changes: 1 addition & 10 deletions nixos/configurations/aplaz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,7 @@

services.xserver.displayManager.sddm.enable = lib.mkForce false;

services.greetd = {
enable = true;
settings = rec {
default_session = {
command = "startplasma-wayland";
user = "lyc";
};
initial_session = default_session;
};
};
services.greetd.enable = true;

}

11 changes: 11 additions & 0 deletions nixos/modules/gui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ in
];
};

services.greetd = {
settings = rec {
default_session = {
command = "startplasma-wayland";
user = "lyc";
};
initial_session = default_session;
};
};


services.xserver.enable = true;

services.xserver.displayManager.sddm.enable = true;
Expand Down

0 comments on commit d8ac97f

Please sign in to comment.