summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/sils/basesystem.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/nixos/sils/basesystem.nix b/modules/nixos/sils/basesystem.nix
index 6d10f3f..aa8ef88 100644
--- a/modules/nixos/sils/basesystem.nix
+++ b/modules/nixos/sils/basesystem.nix
@@ -4,11 +4,14 @@
   pkgs,
   modulesPath,
   ...
-}: {
+}: let
+  cfg = config.sils.basesystem;
+in {
   imports = [
     (modulesPath + "/installer/scan/not-detected.nix")
   ];
-  config = {
+  options.sils.basesystem.enable = lib.mkEnableOption "basesystem";
+  config = lib.mkIf cfg.enable {
     networking.hostName = config.sils.meta.hostname;
 
     boot = {