fix(koumakyou): boot to gamescope
This commit is contained in:
parent
0fe831c218
commit
2d2895949b
|
@ -35,12 +35,16 @@
|
||||||
${pkgs.kmod}/bin/modprobe bmi260_core
|
${pkgs.kmod}/bin/modprobe bmi260_core
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.greetd.settings.default_session.command = let
|
specialisation.desktop.configuration = {
|
||||||
cfg = config.programs.regreet;
|
programs.regreet.enable = lib.mkForce true;
|
||||||
in "${pkgs.dbus}/bin/dbus-run-session ${lib.getExe pkgs.cage} ${lib.escapeShellArgs cfg.cageArgs} -- ${pkgs.writeShellScript "cageResolution" ''
|
jovian.steam.autoStart = lib.mkForce false;
|
||||||
${lib.getExe pkgs.wlr-randr} --output eDP-1 --scale 2
|
services.greetd.settings.default_session.command = let
|
||||||
${lib.getExe cfg.package}
|
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}
|
||||||
|
''}";
|
||||||
|
};
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{ jovian, ... }: {
|
{ jovian, ... }: {
|
||||||
|
imports = [
|
||||||
|
jovian.nixosModules.jovian
|
||||||
|
];
|
||||||
|
|
||||||
jovian = {
|
jovian = {
|
||||||
hardware.has.amd.gpu = true;
|
hardware.has.amd.gpu = true;
|
||||||
steamos.useSteamOSConfig = true;
|
steamos.useSteamOSConfig = true;
|
||||||
|
@ -6,6 +10,8 @@
|
||||||
|
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
autoStart = true;
|
||||||
|
desktopSession = "sway";
|
||||||
user = "app";
|
user = "app";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -14,9 +20,7 @@
|
||||||
".steam" ".local/share/Steam" ".config/gamescope"
|
".steam" ".local/share/Steam" ".config/gamescope"
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
programs.regreet.enable = false;
|
||||||
jovian.nixosModules.jovian
|
|
||||||
];
|
|
||||||
} // {
|
} // {
|
||||||
#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