From d17783338b094d841ffe50300c1a0d2ef3880e58 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sat, 20 Apr 2024 19:13:28 +0200 Subject: sils: make nix-config toggleable --- modules/nixos/sils/nix.nix | 1 + modules/nixos/sils/roles.nix | 1 + 2 files changed, 2 insertions(+) (limited to 'modules/nixos') diff --git a/modules/nixos/sils/nix.nix b/modules/nixos/sils/nix.nix index 6898fa9..2bc792b 100644 --- a/modules/nixos/sils/nix.nix +++ b/modules/nixos/sils/nix.nix @@ -8,6 +8,7 @@ cfg = config.sils.nix; in { options.sils.nix = { + enable = lib.mkEnableOption "nix config"; remoteBuild = lib.mkEnableOption "remote builds"; }; config = { diff --git a/modules/nixos/sils/roles.nix b/modules/nixos/sils/roles.nix index 07cd22f..9e8cf3d 100644 --- a/modules/nixos/sils/roles.nix +++ b/modules/nixos/sils/roles.nix @@ -5,6 +5,7 @@ in { if roleCmp "laptop" then { basesystem.enable = true; + nix.enable = true; plymouth.enable = true; theming.enable = true; } -- cgit 1.4.1