Commit 59d483408f7e
Changed files (1)
systems
profiles
systems/profiles/base.nix
@@ -1,14 +1,15 @@
{ config, lib, pkgs, ... }:
let
- inherit (lib) mkEnableOption;
+ inherit (lib) mkEnableOption mkIf;
cfg = config.profiles.base;
in
{
options = {
- enable = mkEnableOption "base configuration";
+ config.profiles.base = {
+ enable = mkEnableOption "base configuration";
+ };
};
- config = {
-
+ config = mkIf cfg.enable {
# `nix-daemon` will hit the stack limit when using `nixFlakes`.
systemd.services.nix-daemon.serviceConfig."LimitSTACK" = "infinity";
};