nixos-config/modules/system/nixos/default.nix
2021-10-05 23:45:02 +02:00

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 = [
];
};
}