19 lines
263 B
Nix
19 lines
263 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.greg.darwin;
|
|
|
|
in with lib; {
|
|
options = {
|
|
greg.darwin = mkEnableOption "This system is Darwin";
|
|
};
|
|
|
|
config = mkIf cfg {
|
|
system.stateVersion = 4;
|
|
programs = {
|
|
zsh.enable = true;
|
|
bash.enable = true;
|
|
};
|
|
};
|
|
}
|