mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 04:40:05 +00:00
🐛 Tons of type and bug fixes (thanks language server for not working)
This commit is contained in:
parent
d2633457a5
commit
cc5ba78ddb
11 changed files with 87 additions and 25 deletions
|
@ -5,8 +5,9 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
inherit (lib) mkEnableOption mkIf types;
|
||||
inherit (self) namespace;
|
||||
inherit (self.lib) mkOpt;
|
||||
|
||||
cfg = config.${namespace}.system.nix;
|
||||
in {
|
||||
|
@ -14,6 +15,7 @@ in {
|
|||
enable = mkEnableOption "Nix configuration overrides.";
|
||||
use-lix = mkEnableOption "Lix as an alternative to CppNix.";
|
||||
use-nixld = mkEnableOption "the use of dynamically linked executables on nix based systems.";
|
||||
trusted-users = mkOpt (types.listOf types.str) ["@wheel"] "List of trusted users for this NixOS system.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -26,6 +28,7 @@ in {
|
|||
keep-outputs = true;
|
||||
max-jobs = "auto";
|
||||
warn-dirty = false;
|
||||
trusted-users = cfg.trusted-users;
|
||||
};
|
||||
|
||||
# Garbage collection configuration.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue