aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/suites/common/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/suites/common/default.nix')
-rw-r--r--modules/nixos/suites/common/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/nixos/suites/common/default.nix b/modules/nixos/suites/common/default.nix
new file mode 100644
index 0000000..1e7a053
--- /dev/null
+++ b/modules/nixos/suites/common/default.nix
@@ -0,0 +1,25 @@
+{ options, config, lib, namespace, ... }:
+
+with lib; with lib.${namespace}; let
+ cfg = config.${namespace}.suites.common;
+in {
+ options.${namespace}.suites.common = with types; {
+ enable = mkEnableOption "common";
+ };
+
+ config = mkIf cfg.enable {
+ cxl = {
+ hardware = {
+ keyboard.enable = true;
+ };
+
+ tools = {
+ bash.enable = true;
+ vim.enable = true;
+ git.enable = true;
+ misc.enable = true;
+ rebuild.enable = true;
+ };
+ };
+ };
+}