refactor(koumakyou): clean up jovian config

This commit is contained in:
514fpv 2024-06-11 11:53:49 +08:00
parent 4d77320203
commit ab7e7606f0
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 63 additions and 87 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, ... }: {
{ pkgs, lib, config, jovian, ... }: {
global = {
id = "0a920a834b5f480bab258040096d4c6e";
fs.esp.uuid = "ACB3-4AFF";
@ -41,11 +41,8 @@
console.earlySetup = true;
specialisation.desktop.configuration = {
programs.regreet.enable = lib.mkForce true;
jovian.steam.autoStart = lib.mkForce false;
jovian.steam.desktopSession = lib.mkForce "sway";
jovian.decky-loader.enable = lib.mkForce false;
home.plasma.enable = lib.mkForce false;
global.jovian = false;
jovian.steamos.useSteamOSConfig = 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" ''
@ -67,5 +64,8 @@
boot.extraModulePackages = [ ];
hardware.cpu.intel.updateMicrocode = true;
imports = [ ./jovian.nix ];
imports = [
jovian.nixosModules.jovian
./jovian.nix
];
}