feat(bbsteamie): set plymouth to bgrt
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
8aa6f5b2b0
commit
eba41259b4
4 changed files with 164 additions and 157 deletions
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
@ -57,8 +56,7 @@ in {
|
||||||
|
|
||||||
boot.plymouth = {
|
boot.plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "steamos";
|
theme = "bgrt";
|
||||||
themePackages = [pkgs.steamdeck-hw-theme];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.kmscon.enable = true;
|
services.kmscon.enable = true;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
# switch to wayland when possible
|
|
||||||
defaultSession = "plasma";
|
defaultSession = "plasma";
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -3,7 +3,8 @@ defaultSession: {
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
|
config = let
|
||||||
inherit (lib) findFirst getExe mkForce;
|
inherit (lib) findFirst getExe mkForce;
|
||||||
|
|
||||||
inherit (config.vars) mainUser;
|
inherit (config.vars) mainUser;
|
||||||
|
@ -26,7 +27,7 @@ defaultSession: {
|
||||||
gaming-mode = pkgs.writeShellScriptBin "gaming-mode" ''
|
gaming-mode = pkgs.writeShellScriptBin "gaming-mode" ''
|
||||||
sudo ${pkgs.systemd}/bin/systemctl start to-gaming-mode.service
|
sudo ${pkgs.systemd}/bin/systemctl start to-gaming-mode.service
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoLogin.relogin = true;
|
autoLogin.relogin = true;
|
||||||
|
@ -107,4 +108,8 @@ in {
|
||||||
// (mkAutostart "steam" "-silent %U")
|
// (mkAutostart "steam" "-silent %U")
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# For accurate stack trace
|
||||||
|
_file = ./session-switching.nix;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,11 +4,12 @@ defaultSession: {
|
||||||
pkgs,
|
pkgs,
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
|
config = let
|
||||||
inherit (config.vars) mainUser;
|
inherit (config.vars) mainUser;
|
||||||
|
|
||||||
cfg = config.programs.steam;
|
cfg = config.programs.steam;
|
||||||
in {
|
in {
|
||||||
# Normal Steam Stuff
|
# Normal Steam Stuff
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -72,4 +73,8 @@ in {
|
||||||
# https://github.com/Ryujinx/Ryujinx/issues/6708
|
# https://github.com/Ryujinx/Ryujinx/issues/6708
|
||||||
self.packages.${pkgs.system}.yuzu
|
self.packages.${pkgs.system}.yuzu
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# For accurate stack trace
|
||||||
|
_file = ./steam.nix;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue