mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-01-03 06:29:54 +01:00
23 lines
390 B
Nix
23 lines
390 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}@args:
|
|
let
|
|
cfg = config.my.profiles.core;
|
|
in
|
|
{
|
|
options.my.profiles.core.enable = lib.mkEnableOption "core profile";
|
|
|
|
config = lib.mkIf cfg.enable (
|
|
lib.mkMerge [
|
|
(import ./core.nix args)
|
|
(import ./modules.nix args)
|
|
(import ./network.nix args)
|
|
(import ./nix.nix args)
|
|
(import ./users.nix args)
|
|
]
|
|
);
|
|
}
|