forked from pub-solar/os
Hendrik Sokolowski
4190818304
* move core settings to x-os * add option to only install a lite core * rename x-os module to core * remove core profile from flake.nix
31 lines
531 B
Nix
31 lines
531 B
Nix
{ lib, ... }:
|
|
|
|
with lib;
|
|
let
|
|
psCfg = config.pub-solar;
|
|
cfg = config.pub-solar.core;
|
|
in
|
|
{
|
|
imports = [
|
|
./boot.nix
|
|
./fonts.nix
|
|
./i18n.nix
|
|
./modules.nix
|
|
./networking.nix
|
|
./nix.nix
|
|
./packages.nix
|
|
./services.nix
|
|
];
|
|
|
|
options.pub-solar.core = {
|
|
lite-core-active = mkOption {
|
|
description = ''
|
|
Whether the node should run as a server or agent.
|
|
Note that the server, by default, also runs as an agent.
|
|
'';
|
|
default = false;
|
|
type = types.bool;
|
|
};
|
|
};
|
|
}
|