19 lines
317 B
Nix
19 lines
317 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eb.nixos;
|
|
in {
|
|
options.eb.nixos = {
|
|
enable = mkOption {
|
|
description = "Whether to enable nixos settings";
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf (cfg.enable) {
|
|
environment.systemPackages = [
|
|
];
|
|
|
|
};
|
|
}
|