feat(koumakyou): add plasma session
This commit is contained in:
parent
d2063ee7cf
commit
75e7ee70e3
|
@ -38,12 +38,20 @@
|
||||||
specialisation.desktop.configuration = {
|
specialisation.desktop.configuration = {
|
||||||
programs.regreet.enable = lib.mkForce true;
|
programs.regreet.enable = lib.mkForce true;
|
||||||
jovian.steam.autoStart = lib.mkForce false;
|
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
|
services.greetd.settings.default_session.command = let
|
||||||
cfg = config.programs.regreet;
|
cfg = config.programs.regreet;
|
||||||
in "${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${pkgs.writeShellScript "cageResolution" ''
|
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 pkgs.wlr-randr} --output eDP-1 --scale 2
|
||||||
${lib.getExe cfg.package}
|
${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;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
desktopSession = "sway";
|
desktopSession = "plasma";
|
||||||
user = "app";
|
user = "app";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -21,6 +21,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.regreet.enable = false;
|
programs.regreet.enable = false;
|
||||||
|
home.plasma.enable = true;
|
||||||
} // {
|
} // {
|
||||||
#users.users.decky.uid = 514;
|
#users.users.decky.uid = 514;
|
||||||
#users.groups.decky.gid = 514;
|
#users.groups.decky.gid = 514;
|
||||||
|
|
Loading…
Reference in a new issue