feat(bbsteamie): set plymouth to bgrt
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-08-04 20:36:20 -04:00
parent 8aa6f5b2b0
commit eba41259b4
4 changed files with 164 additions and 157 deletions

View file

@ -1,6 +1,5 @@
{
config,
pkgs,
self,
...
}: let
@ -57,8 +56,7 @@ in {
boot.plymouth = {
enable = true;
theme = "steamos";
themePackages = [pkgs.steamdeck-hw-theme];
theme = "bgrt";
};
services.kmscon.enable = true;

View file

@ -1,5 +1,4 @@
{pkgs, ...}: let
# switch to wayland when possible
defaultSession = "plasma";
in {
imports = [

View file

@ -3,7 +3,8 @@ defaultSession: {
lib,
pkgs,
...
}: let
}: {
config = let
inherit (lib) findFirst getExe mkForce;
inherit (config.vars) mainUser;
@ -26,7 +27,7 @@ defaultSession: {
gaming-mode = pkgs.writeShellScriptBin "gaming-mode" ''
sudo ${pkgs.systemd}/bin/systemctl start to-gaming-mode.service
'';
in {
in {
services.displayManager.sddm = {
enable = true;
autoLogin.relogin = true;
@ -107,4 +108,8 @@ in {
// (mkAutostart "steam" "-silent %U")
);
};
};
# For accurate stack trace
_file = ./session-switching.nix;
}

View file

@ -4,11 +4,12 @@ defaultSession: {
pkgs,
self,
...
}: let
}: {
config = let
inherit (config.vars) mainUser;
cfg = config.programs.steam;
in {
in {
# Normal Steam Stuff
programs.steam = {
enable = true;
@ -72,4 +73,8 @@ in {
# https://github.com/Ryujinx/Ryujinx/issues/6708
self.packages.${pkgs.system}.yuzu
];
};
# For accurate stack trace
_file = ./steam.nix;
}