Build everything from source on steam deck.
This commit is contained in:
parent
c4ff96b847
commit
1523e691d5
@ -10,6 +10,7 @@
|
|||||||
./roles/2ship2harkinian
|
./roles/2ship2harkinian
|
||||||
./roles/ares
|
./roles/ares
|
||||||
./roles/dolphin
|
./roles/dolphin
|
||||||
|
./roles/dont_use_substituters
|
||||||
./roles/duckstation
|
./roles/duckstation
|
||||||
./roles/global_options
|
./roles/global_options
|
||||||
./roles/graphics
|
./roles/graphics
|
||||||
|
|||||||
@ -11,6 +11,7 @@
|
|||||||
config = {
|
config = {
|
||||||
me.ares.enable = true;
|
me.ares.enable = true;
|
||||||
me.dolphin.enable = true;
|
me.dolphin.enable = true;
|
||||||
|
me.dont_use_substituters.enable = true;
|
||||||
me.duckstation.enable = true;
|
me.duckstation.enable = true;
|
||||||
me.graphical = true;
|
me.graphical = true;
|
||||||
me.optimizations.enable = true;
|
me.optimizations.enable = true;
|
||||||
|
|||||||
@ -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 [ ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user