19 lines
512 B
Nix
19 lines
512 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.mySystem.system;
|
|
in
|
|
{
|
|
options.mySystem.system = {
|
|
packages = mkOption {
|
|
type = with types; listOf package;
|
|
description = "List of system level package installs";
|
|
default = [ ];
|
|
};
|
|
};
|
|
# System packages deployed globally.
|
|
# This is NixOS so lets keep this liiight?
|
|
# Ideally i'd keep most of it to home-manager user only stuff
|
|
# and keep server role as light as possible
|
|
config.environment.systemPackages = cfg.packages;
|
|
}
|