nixos-config/backup/modules/system/nixos/default.nix

20 lines
317 B
Nix
Raw Normal View History

2021-10-05 23:45:02 +02:00
{ 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 = [
];
};
}