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; + }; + }; +}