Build everything from source on steam deck.

This commit is contained in:
Tom Alexander 2025-11-27 21:17:32 -05:00
parent c4ff96b847
commit 1523e691d5
Signed by: talexander
GPG Key ID: 36C99E8B3C39D85F
3 changed files with 30 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./roles/2ship2harkinian
./roles/ares
./roles/dolphin
./roles/dont_use_substituters
./roles/duckstation
./roles/global_options
./roles/graphics

View File

@ -11,6 +11,7 @@
config = {
me.ares.enable = true;
me.dolphin.enable = true;
me.dont_use_substituters.enable = true;
me.duckstation.enable = true;
me.graphical = true;
me.optimizations.enable = true;

View File

@ -0,0 +1,28 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
dont_use_substituters.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install dont_use_substituters.";
};
};
config = lib.mkIf config.me.dont_use_substituters.enable {
# Disable substituters to avoid risk of cache poisoning.
nix.extraOptions = ''
substitute = false
'';
nix.settings.substituters = lib.mkForce [ ];
};
}