From 6b3767a02ea497805ed97fcff3162a4eb5b7695f Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Mon, 13 Jan 2025 15:13:45 +0100 Subject: [PATCH] enable jovian nixos on glados and set some auto mount and other steamos settings on shodan --- flake.nix | 1 + nixos/hosts/GLaDOS/configuration.nix | 17 +++++++++++++++++ nixos/hosts/shodan/configuration.nix | 6 +++++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 2f42694..b65194f 100644 --- a/flake.nix +++ b/flake.nix @@ -195,6 +195,7 @@ ++ desktopModules ++ [ {_module.args = {inherit pkgs-edge;};} + jovian.nixosModules.jovian # > Our main nixos configuration file < ./nixos/hosts/GLaDOS/configuration.nix ]; diff --git a/nixos/hosts/GLaDOS/configuration.nix b/nixos/hosts/GLaDOS/configuration.nix index 8f9d921..d76725c 100644 --- a/nixos/hosts/GLaDOS/configuration.nix +++ b/nixos/hosts/GLaDOS/configuration.nix @@ -11,6 +11,7 @@ # Import home-manager's NixOS module inputs.home-manager.nixosModules.home-manager outputs.nixosModules.vpn-ip + inputs.jovian.nixosModules.jovian # If you want to use modules your own flake exports (from modules/nixos): # outputs.nixosModules.example @@ -69,6 +70,22 @@ }; }; }; + + jovian = { + steam = { + enable = true; + autoStart = false; + user = "lillian"; + desktopSession = "plasma"; + }; + decky-loader = { + enable = true; + package = pkgs.decky-loader-prerelease; + extraPackages = [pkgs.python3]; + }; + hardware.has.amd.gpu = true; + }; + boot = { loader.systemd-boot.enable = true; binfmt.emulatedSystems = ["aarch64-linux"]; diff --git a/nixos/hosts/shodan/configuration.nix b/nixos/hosts/shodan/configuration.nix index 7139568..0979338 100644 --- a/nixos/hosts/shodan/configuration.nix +++ b/nixos/hosts/shodan/configuration.nix @@ -25,7 +25,7 @@ ../../../disko/shodan - ./auto-mount.nix + # ./auto-mount.nix ]; boot = { tmp.cleanOnBoot = true; @@ -194,6 +194,10 @@ autoUpdate = true; enableGyroDsuService = true; }; + steamos = { + enableAutoMountUdevRules = true; + enableMesaPatches = true; + }; }; programs = { steam = lib.mkForce {