initial commit
This commit is contained in:
commit
f5c962b566
8 changed files with 7248 additions and 0 deletions
9
lib/adjust-standalone-config.nix
Normal file
9
lib/adjust-standalone-config.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Taken from https://github.com/linyinfeng/kukui-nixos/blob/53027913fffd5bf48382bbcec6217d0352dc7278/lib/adjust-standalone-config.nix, thank you!
|
||||
{lib}: config:
|
||||
lib.mapAttrs (
|
||||
_: value:
|
||||
if (value.tristate or null) == "y"
|
||||
then lib.mkOverride 90 value
|
||||
else lib.mkOverride 110 value
|
||||
)
|
||||
config
|
Loading…
Add table
Add a link
Reference in a new issue