From f83d87e0baa7fd809411c772a12da98aa32c4f9a Mon Sep 17 00:00:00 2001 From: _cry64 Date: Thu, 15 Jan 2026 20:10:31 +1000 Subject: [PATCH] begin development on nixos cerulean module --- cerulean/nixos-module/config.nix | 14 ++++++++++++++ cerulean/nixos-module/default.nix | 18 ++++++++++++++++++ cerulean/nixos-module/options.nix | 20 ++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 cerulean/nixos-module/config.nix create mode 100644 cerulean/nixos-module/default.nix create mode 100644 cerulean/nixos-module/options.nix diff --git a/cerulean/nixos-module/config.nix b/cerulean/nixos-module/config.nix new file mode 100644 index 0000000..26d459c --- /dev/null +++ b/cerulean/nixos-module/config.nix @@ -0,0 +1,14 @@ +# Copyright 2026 Emile Clark-Boman +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +{...}: {} diff --git a/cerulean/nixos-module/default.nix b/cerulean/nixos-module/default.nix new file mode 100644 index 0000000..cc92212 --- /dev/null +++ b/cerulean/nixos-module/default.nix @@ -0,0 +1,18 @@ +# Copyright 2026 Emile Clark-Boman +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +{...} @ inputs: { + options = import ./options.nix inputs; + + config = import ./config.nix inputs; +} diff --git a/cerulean/nixos-module/options.nix b/cerulean/nixos-module/options.nix new file mode 100644 index 0000000..8fb6a46 --- /dev/null +++ b/cerulean/nixos-module/options.nix @@ -0,0 +1,20 @@ +# Copyright 2026 Emile Clark-Boman +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +{lib, ...}: { + cerulean.nexus.node = { + group = lib.mkOption { + type = lib.types.enum; + }; + }; +}