20 lines
317 B
Nix
20 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 = [
|
||
|
];
|
||
|
|
||
|
};
|
||
|
}
|