mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-09 18:30:01 +01:00
config: command-line revamp
This commit is contained in:
parent
802a38f61b
commit
3f34891413
28 changed files with 1141 additions and 335 deletions
|
|
@ -8,10 +8,17 @@ in {
|
|||
description = "Whether the system is running on Linux";
|
||||
};
|
||||
|
||||
isDarwin = mkOption {
|
||||
type = types.bool;
|
||||
default = pkgs.stdenv.isDarwin;
|
||||
description = "Whether the system is running on Darwin (macOS)";
|
||||
};
|
||||
|
||||
isServer = mkOption {
|
||||
type = types.bool;
|
||||
default = config.nixpkgs.hostPlatform.isAarch64;
|
||||
description = "Whether the system is a server. Determined by the processor architecture.";
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue