feat(koumakyou): add plasma session
This commit is contained in:
parent
d2063ee7cf
commit
75e7ee70e3
2 changed files with 10 additions and 1 deletions
|
@ -38,12 +38,20 @@
|
|||
specialisation.desktop.configuration = {
|
||||
programs.regreet.enable = lib.mkForce true;
|
||||
jovian.steam.autoStart = lib.mkForce false;
|
||||
jovian.steam.desktopSession = lib.mkForce "sway";
|
||||
home.plasma.enable = lib.mkForce false;
|
||||
services.greetd.settings.default_session.command = let
|
||||
cfg = config.programs.regreet;
|
||||
in "${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${pkgs.writeShellScript "cageResolution" ''
|
||||
${lib.getExe pkgs.wlr-randr} --output eDP-1 --scale 2
|
||||
${lib.getExe cfg.package}
|
||||
''}";
|
||||
environment.systemPackages = with pkgs; [
|
||||
(writeShellScriptBin "sway-logout" ''
|
||||
${systemd}/bin/systemctl --user unset-environment WAYLAND_DISPLAY SWAYSOCK
|
||||
${sway}/bin/swaymsg exit
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue