From ad574cf2b115e4d91ebaed0a6e1b1e8faf49047b Mon Sep 17 00:00:00 2001 From: guangtao Date: Mon, 20 Nov 2023 00:09:37 -0800 Subject: [PATCH] chore: add license --- .reuse/dep5 | 13 +++++++++++++ LICENSES/MIT.txt | 9 +++++++++ default.nix | 4 ++++ examples/overlays/__fixture/test1.nix | 4 ++++ examples/overlays/__fixture/test2.nix | 4 ++++ examples/overlays/default.nix | 4 ++++ examples/packages/__fixture/hello1.nix | 4 ++++ examples/packages/__fixture/hello2.nix | 4 ++++ examples/packages/default.nix | 4 ++++ examples/packagesOverlay.nix | 4 ++++ flake.nix | 4 ++++ local/cells/repo/configs.nix | 4 ++++ local/cells/repo/devshellProfiles.nix | 4 ++++ local/cells/repo/pops.nix | 4 ++++ local/cells/repo/shells.nix | 6 ++++++ local/flake.nix | 4 ++++ local/lock/flake.nix | 4 ++++ src/__init.nix | 4 ++++ src/errors/inputsSource.nix | 4 ++++ src/errors/requiredInputs.nix | 4 ++++ src/flakeOutputs.nix | 4 ++++ src/lib/addLoadToPops.nix | 4 ++++ src/lib/addLoadToPopsFilterBySrc.nix | 4 ++++ src/lib/attrsets/filterAttrsOnlyRecursive.nix | 4 ++++ src/lib/attrsets/filterDerivations.nix | 4 ++++ src/lib/attrsets/stripAttrsForHydra.nix | 4 ++++ src/lib/filterSrc.nix | 4 ++++ src/lib/inputsToPaths.nix | 4 ++++ src/lib/loaderInputs.nix | 4 ++++ src/lib/mapLoadToPops.nix | 4 ++++ src/lib/mapPopsExports'.nix | 4 ++++ src/lib/mapPopsExports.nix | 4 ++++ src/lib/recursiveAttrValues.nix | 4 ++++ src/lib/types.nix | 4 ++++ src/load.nix | 4 ++++ src/mkHome.nix | 4 ++++ src/ops/makes.nix | 4 ++++ src/ops/mkMicrovm.nix | 4 ++++ src/ops/readYAML.nix | 4 ++++ src/outputs.nix | 4 ++++ src/pops/_exportsOmnibusProfiles.nix | 4 ++++ src/pops/allData.nix | 4 ++++ src/pops/configs.nix | 4 ++++ src/pops/darwinModules.nix | 4 ++++ src/pops/darwinProfiles.nix | 4 ++++ src/pops/data.nix | 4 ++++ src/pops/devshellModules.nix | 4 ++++ src/pops/devshellProfiles.nix | 4 ++++ src/pops/flake-parts.nix | 4 ++++ src/pops/flake.nix | 4 ++++ src/pops/homeModules.nix | 4 ++++ src/pops/homeProfiles.nix | 4 ++++ src/pops/jupyenv.nix | 4 ++++ src/pops/load.nix | 4 ++++ src/pops/microvms.nix | 4 ++++ src/pops/nixosModules.nix | 4 ++++ src/pops/nixosProfiles.nix | 4 ++++ src/pops/overlays.nix | 4 ++++ src/pops/packages.nix | 4 ++++ src/pops/scripts.nix | 4 ++++ src/pops/srvos.nix | 4 ++++ src/pops/std.nix | 4 ++++ templates/hivebus/flake.nix | 4 ++++ .../nix/hive/cells/hosts/colmenaConfigurations.nix | 4 ++++ .../nix/hive/cells/hosts/darwinConfigurations.nix | 4 ++++ .../nix/hive/cells/hosts/nixosConfigurations.nix | 4 ++++ templates/hivebus/nix/hive/cells/repo/configs.nix | 4 ++++ .../hivebus/nix/hive/cells/repo/configs/conform.nix | 4 ++++ .../hivebus/nix/hive/cells/repo/configs/just.nix | 4 ++++ templates/hivebus/nix/hive/cells/repo/lib.nix | 4 ++++ templates/hivebus/nix/hive/cells/repo/shells.nix | 4 ++++ templates/hivebus/nix/hive/flake.nix | 4 ++++ templates/hivebus/nix/lock/flake.nix | 4 ++++ templates/hivebus/nix/packages/hello.nix | 4 ++++ templates/hivebus/nix/src/__init.nix | 4 ++++ templates/hivebus/nix/src/filterPopsSrc.nix | 4 ++++ templates/hivebus/nix/src/flakeOutputs.nix | 4 ++++ templates/hivebus/nix/src/hosts.nix | 4 ++++ .../nix/src/pops/__hostsLoad/darwinModules.nix | 4 ++++ .../nix/src/pops/__hostsLoad/darwinProfiles.nix | 4 ++++ .../nix/src/pops/__hostsLoad/homeModules.nix | 4 ++++ .../nix/src/pops/__hostsLoad/homeProfiles.nix | 4 ++++ .../nix/src/pops/__hostsLoad/nixosModules.nix | 4 ++++ .../nix/src/pops/__hostsLoad/nixosProfiles.nix | 4 ++++ templates/hivebus/nix/src/pops/darwinModules.nix | 4 ++++ templates/hivebus/nix/src/pops/darwinProfiles.nix | 4 ++++ templates/hivebus/nix/src/pops/homeModules.nix | 4 ++++ templates/hivebus/nix/src/pops/homeProfiles.nix | 4 ++++ templates/hivebus/nix/src/pops/hosts.nix | 4 ++++ templates/hivebus/nix/src/pops/nixosModules.nix | 4 ++++ templates/hivebus/nix/src/pops/nixosProfiles.nix | 4 ++++ .../hivebus/nix/src/pops/omnibus/homeModules.nix | 4 ++++ .../hivebus/nix/src/pops/omnibus/homeProfiles.nix | 4 ++++ templates/hivebus/nix/src/pops/omnibus/lib.nix | 4 ++++ .../hivebus/nix/src/pops/omnibus/nixosModules.nix | 4 ++++ .../hivebus/nix/src/pops/omnibus/nixosProfiles.nix | 4 ++++ templates/hivebus/nix/src/pops/omnibus/srvos.nix | 4 ++++ templates/hivebus/nix/src/pops/subflake.nix | 4 ++++ .../units/nixos/darwinModules/services/yabai.nix | 4 ++++ .../units/nixos/darwinProfiles/presets/yabai.nix | 4 ++++ .../units/nixos/homeModules/programs/emacs.nix | 4 ++++ .../units/nixos/homeProfiles/presets/emacs.nix | 4 ++++ .../nixos/hosts/darwin/darwinConfiguration.nix | 4 ++++ .../nixos/hosts/darwin/darwinProfiles/bootstrap.nix | 4 ++++ .../hivebus/units/nixos/hosts/darwin/layouts.nix | 4 ++++ .../hivebus/units/nixos/hosts/nixos/layouts.nix | 4 ++++ .../units/nixos/hosts/nixos/nixosConfiguration.nix | 4 ++++ .../nixos/hosts/nixos/nixosProfiles/bootstrap.nix | 4 ++++ templates/hivebus/units/nixos/nixosModules/boot.nix | 4 ++++ .../units/nixos/nixosProfiles/presets/boot.nix | 4 ++++ templates/nixos/flake.nix | 4 ++++ templates/nixos/nix/lock/flake.nix | 4 ++++ templates/nixos/nix/packages/hello.nix | 4 ++++ templates/nixos/nix/src/__init.nix | 4 ++++ templates/nixos/nix/src/flakeOutputs.nix | 4 ++++ templates/nixos/nix/src/hosts.nix | 4 ++++ .../nix/src/pops/__hostsLoad/darwinModules.nix | 4 ++++ .../nix/src/pops/__hostsLoad/darwinProfiles.nix | 4 ++++ .../nixos/nix/src/pops/__hostsLoad/homeModules.nix | 4 ++++ .../nixos/nix/src/pops/__hostsLoad/homeProfiles.nix | 4 ++++ .../nixos/nix/src/pops/__hostsLoad/nixosModules.nix | 4 ++++ .../nix/src/pops/__hostsLoad/nixosProfiles.nix | 4 ++++ templates/nixos/nix/src/pops/darwinModules.nix | 4 ++++ templates/nixos/nix/src/pops/darwinProfiles.nix | 4 ++++ templates/nixos/nix/src/pops/homeModules.nix | 4 ++++ templates/nixos/nix/src/pops/homeProfiles.nix | 4 ++++ templates/nixos/nix/src/pops/hosts.nix | 4 ++++ templates/nixos/nix/src/pops/nixosModules.nix | 4 ++++ templates/nixos/nix/src/pops/nixosProfiles.nix | 4 ++++ .../nixos/nix/src/pops/omnibus/homeModules.nix | 4 ++++ .../nixos/nix/src/pops/omnibus/homeProfiles.nix | 4 ++++ templates/nixos/nix/src/pops/omnibus/lib.nix | 4 ++++ .../nixos/nix/src/pops/omnibus/nixosModules.nix | 4 ++++ .../nixos/nix/src/pops/omnibus/nixosProfiles.nix | 4 ++++ templates/nixos/nix/src/pops/omnibus/srvos.nix | 4 ++++ templates/nixos/nix/src/pops/subflake.nix | 4 ++++ .../units/nixos/darwinModules/services/yabai.nix | 4 ++++ .../units/nixos/darwinProfiles/presets/yabai.nix | 4 ++++ .../units/nixos/homeModules/programs/emacs.nix | 4 ++++ .../units/nixos/homeProfiles/presets/emacs.nix | 4 ++++ .../nixos/hosts/darwin/darwinConfiguration.nix | 4 ++++ .../nixos/hosts/darwin/darwinProfiles/bootstrap.nix | 4 ++++ .../nixos/units/nixos/hosts/darwin/layouts.nix | 4 ++++ templates/nixos/units/nixos/hosts/nixos/layouts.nix | 4 ++++ .../units/nixos/hosts/nixos/nixosConfiguration.nix | 4 ++++ .../nixos/hosts/nixos/nixosProfiles/bootstrap.nix | 4 ++++ templates/nixos/units/nixos/nixosModules/boot.nix | 4 ++++ .../units/nixos/nixosProfiles/presets/boot.nix | 4 ++++ templates/simple/flake.nix | 4 ++++ .../units/nixos/homeProfiles/presets/home-user1.nix | 4 ++++ templates/simple/units/nixos/nixosModules/boot.nix | 4 ++++ .../units/nixos/nixosProfiles/presets/boot.nix | 4 ++++ tests/darwin/expr.nix | 4 ++++ tests/darwin/format.nix | 4 ++++ tests/data/expr.nix | 4 ++++ tests/devshell/__lock/flake.nix | 4 ++++ tests/devshell/expr.nix | 4 ++++ tests/flake-parts/__lock/flake.nix | 4 ++++ tests/flake-parts/expr.nix | 4 ++++ tests/jupyenv/__fixture/example.nix | 4 ++++ tests/jupyenv/__lock/flake.nix | 4 ++++ tests/jupyenv/expr.nix | 4 ++++ tests/jupyenv/format.nix | 4 ++++ tests/lib/expr.nix | 4 ++++ tests/lib/format.nix | 4 ++++ tests/loaders/expr.nix | 4 ++++ tests/makes/__fixture/example/default.nix | 4 ++++ tests/makes/expr.nix | 4 ++++ tests/makes/format.nix | 4 ++++ tests/microvms/__fixture/example.nix | 4 ++++ tests/microvms/__lock/flake.nix | 4 ++++ tests/microvms/expr.nix | 4 ++++ tests/microvms/format.nix | 4 ++++ tests/nixos/__fixture/__lock/flake.nix | 4 ++++ tests/nixos/__fixture/__nixosProfiles/bootstrap.nix | 4 ++++ tests/nixos/__fixture/_test.nix | 4 ++++ tests/nixos/__fixture/layouts.nix | 4 ++++ tests/nixos/__fixture/pops/flake.nix | 4 ++++ tests/nixos/__fixture/pops/homeModules.nix | 4 ++++ tests/nixos/__fixture/pops/homeProfiles.nix | 4 ++++ tests/nixos/__fixture/pops/nixosModules.nix | 4 ++++ tests/nixos/__fixture/pops/nixosProfiles.nix | 4 ++++ tests/nixos/__fixture/pops/omnibus.nix | 4 ++++ tests/nixos/__fixture/pops/selfNixOSProfiles.nix | 4 ++++ tests/nixos/__fixture/pops/srvos.nix | 4 ++++ tests/nixos/_pops.nix | 4 ++++ tests/nixos/expr.nix | 4 ++++ tests/nixos/format.nix | 4 ++++ tests/srvos/expr.nix | 4 ++++ tests/srvos/format.nix | 4 ++++ units/configs/cog.nix | 4 ++++ units/configs/conform.nix | 4 ++++ units/configs/editorconfig.nix | 4 ++++ units/configs/githubsettings.nix | 4 ++++ units/configs/lefthook.nix | 4 ++++ units/configs/treefmt.nix | 4 ++++ units/devshell/modules/language/rust.nix | 4 ++++ units/devshell/profiles/nickel.nix | 4 ++++ units/devshell/profiles/rust.nix | 4 ++++ units/flake-parts/modules/todo.nix | 4 ++++ .../profiles/process-compose/sqlite-example.nix | 4 ++++ units/nixos/darwinModules/homebrew/default.nix | 4 ++++ units/nixos/darwinProfiles/init.nix | 4 ++++ units/nixos/darwinProfiles/presets/bootstrap.nix | 4 ++++ units/nixos/darwinProfiles/presets/homebrew.nix | 4 ++++ units/nixos/darwinProfiles/presets/nix/default.nix | 4 ++++ units/nixos/darwinProfiles/presets/nix/optimise.nix | 4 ++++ units/nixos/darwinProfiles/presets/sketchybar.nix | 4 ++++ .../homeModules/programs/alacritty/default.nix | 4 ++++ units/nixos/homeModules/programs/bat.nix | 4 ++++ units/nixos/homeModules/programs/firefox.nix | 4 ++++ units/nixos/homeModules/programs/navi.nix | 4 ++++ .../wayland/windowManager/hyprland/config.nix | 4 ++++ .../wayland/windowManager/hyprland/default.nix | 4 ++++ units/nixos/homeProfiles/presets/alacritty.nix | 4 ++++ units/nixos/homeProfiles/presets/atuin.nix | 4 ++++ units/nixos/homeProfiles/presets/bat.nix | 4 ++++ units/nixos/homeProfiles/presets/brave.nix | 4 ++++ units/nixos/homeProfiles/presets/broot.nix | 4 ++++ units/nixos/homeProfiles/presets/carapace.nix | 4 ++++ .../homeProfiles/presets/dircolors/default.nix | 4 ++++ units/nixos/homeProfiles/presets/direnv.nix | 4 ++++ units/nixos/homeProfiles/presets/dropbox.nix | 4 ++++ units/nixos/homeProfiles/presets/firefox.nix | 4 ++++ units/nixos/homeProfiles/presets/fzf.nix | 4 ++++ units/nixos/homeProfiles/presets/gh.nix | 4 ++++ units/nixos/homeProfiles/presets/git.nix | 4 ++++ units/nixos/homeProfiles/presets/gpg.nix | 4 ++++ units/nixos/homeProfiles/presets/gtk/default.nix | 4 ++++ .../nixos/homeProfiles/presets/hyprland/default.nix | 4 ++++ units/nixos/homeProfiles/presets/latex.nix | 4 ++++ units/nixos/homeProfiles/presets/navi.nix | 4 ++++ .../nixos/homeProfiles/presets/nushell/default.nix | 4 ++++ units/nixos/homeProfiles/presets/pls.nix | 4 ++++ units/nixos/homeProfiles/presets/qt/default.nix | 4 ++++ .../homeProfiles/presets/secrets/_1password.nix | 4 ++++ units/nixos/homeProfiles/presets/spell-check.nix | 4 ++++ .../nixos/homeProfiles/presets/starship/default.nix | 4 ++++ units/nixos/homeProfiles/presets/tmux/default.nix | 4 ++++ .../nixos/homeProfiles/presets/wezterm/default.nix | 4 ++++ units/nixos/homeProfiles/presets/yazi.nix | 4 ++++ units/nixos/homeProfiles/presets/zellij.nix | 4 ++++ units/nixos/homeProfiles/presets/zoxide.nix | 4 ++++ units/nixos/homeProfiles/shell.nix | 4 ++++ units/nixos/nixosModules/boot/default.nix | 4 ++++ units/nixos/nixosModules/boot/systemd-initrd.nix | 4 ++++ units/nixos/nixosModules/hardware/bluetooth.nix | 4 ++++ .../nixosModules/omnibus/bootstrap/default.nix | 4 ++++ .../nixos/nixosModules/omnibus/bootstrap/nrepl.nix | 4 ++++ .../nixosModules/omnibus/bootstrap/packages.nix | 4 ++++ units/nixos/nixosModules/omnibus/coding/bash.nix | 4 ++++ units/nixos/nixosModules/omnibus/coding/conf.nix | 4 ++++ units/nixos/nixosModules/omnibus/coding/nickel.nix | 4 ++++ units/nixos/nixosModules/omnibus/coding/python.nix | 4 ++++ units/nixos/nixosModules/omnibus/coding/typst.nix | 4 ++++ units/nixos/nixosModules/virtualisation/default.nix | 4 ++++ .../nixos/nixosModules/virtualisation/packages.nix | 4 ++++ units/nixos/nixosProfiles/bootstrap.nix | 4 ++++ units/nixos/nixosProfiles/cloud.nix | 4 ++++ units/nixos/nixosProfiles/dev.nix | 4 ++++ units/nixos/nixosProfiles/hardware.nix | 4 ++++ .../nixos/nixosProfiles/presets/audio/bluetooth.nix | 4 ++++ .../nixos/nixosProfiles/presets/audio/pipewire.nix | 4 ++++ units/nixos/nixosProfiles/presets/boot.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/bash.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/conf.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/d2.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/nickel.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/nix.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/python.nix | 4 ++++ units/nixos/nixosProfiles/presets/coding/typst.nix | 4 ++++ units/nixos/nixosProfiles/presets/contabo.nix | 4 ++++ units/nixos/nixosProfiles/presets/display/dbus.nix | 4 ++++ .../nixos/nixosProfiles/presets/display/fcitx5.nix | 4 ++++ .../nixosProfiles/presets/display/fontconfig.nix | 4 ++++ units/nixos/nixosProfiles/presets/display/gdm.nix | 4 ++++ .../nixos/nixosProfiles/presets/display/greetd.nix | 4 ++++ .../nixos/nixosProfiles/presets/display/lightdm.nix | 4 ++++ .../nixos/nixosProfiles/presets/display/opengl.nix | 4 ++++ units/nixos/nixosProfiles/presets/display/sddm.nix | 4 ++++ units/nixos/nixosProfiles/presets/display/xdg.nix | 4 ++++ .../nixosProfiles/presets/filesystems/btrfs.nix | 4 ++++ .../nixosProfiles/presets/filesystems/gvfs.nix | 4 ++++ .../presets/filesystems/impermanence.nix | 4 ++++ .../nixos/nixosProfiles/presets/filesystems/lvm.nix | 4 ++++ units/nixos/nixosProfiles/presets/nix-ld.nix | 4 ++++ units/nixos/nixosProfiles/presets/nix.nix | 4 ++++ units/nixos/nixosProfiles/presets/node.nix | 4 ++++ units/nixos/nixosProfiles/presets/openssh.nix | 4 ++++ .../nixosProfiles/presets/secrets/ecryptfs.nix | 4 ++++ .../nixosProfiles/presets/secrets/gnome-keyring.nix | 4 ++++ units/nixos/nixosProfiles/presets/secrets/gpg.nix | 4 ++++ .../nixos/nixosProfiles/presets/secrets/ragenix.nix | 4 ++++ units/nixos/nixosProfiles/presets/secrets/sops.nix | 4 ++++ .../nixos/nixosProfiles/presets/secrets/yubikey.nix | 4 ++++ .../nixosProfiles/presets/security/secureboot.nix | 4 ++++ units/nixos/nixosProfiles/presets/security/tpm2.nix | 4 ++++ units/nixos/nixosProfiles/presets/shell/default.nix | 4 ++++ units/nixos/nixosProfiles/presets/shell/git.nix | 4 ++++ .../nixosProfiles/presets/virtualisation/docker.nix | 4 ++++ .../presets/virtualisation/libvirtd.nix | 4 ++++ .../nixosProfiles/presets/virtualisation/podman.nix | 4 ++++ .../presets/virtualisation/qemu-tap.nix | 7 ++++++- .../virtualisation/test-container-nvidia.nix | 4 ++++ units/std/blockTypes/jupyenv.nix | 4 ++++ units/std/mkCommand.nix | 4 ++++ 306 files changed, 1242 insertions(+), 1 deletion(-) create mode 100644 .reuse/dep5 create mode 100644 LICENSES/MIT.txt diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..ce02e60 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,13 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: omnibus +Upstream-Contact: guangtao zhang +Source: https://github.com/GTrunSec/omnibus + +# Sample paragraph, commented out: +# +# Files: src/* +# Copyright: $YEAR $NAME <$CONTACT> +# License: ... +Files: src/* +Copyright: 2023 The Omnibus Authors +License: MIT diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..e49dc8f --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2023 guantao zhang + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/default.nix b/default.nix index f825b56..05caa82 100644 --- a/default.nix +++ b/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let lock = builtins.fromJSON (builtins.readFile ./flake.lock); call-flake = import ( diff --git a/examples/overlays/__fixture/test1.nix b/examples/overlays/__fixture/test1.nix index fb48da5..550cc5d 100644 --- a/examples/overlays/__fixture/test1.nix +++ b/examples/overlays/__fixture/test1.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + _: final: prev: diff --git a/examples/overlays/__fixture/test2.nix b/examples/overlays/__fixture/test2.nix index 858e193..81fbc99 100644 --- a/examples/overlays/__fixture/test2.nix +++ b/examples/overlays/__fixture/test2.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs }: final: prev: { } diff --git a/examples/overlays/default.nix b/examples/overlays/default.nix index 0640602..f99639e 100644 --- a/examples/overlays/default.nix +++ b/examples/overlays/default.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus }: omnibus.pops.overlays { src = ./__fixture; } diff --git a/examples/packages/__fixture/hello1.nix b/examples/packages/__fixture/hello1.nix index f2be1cd..eff97ab 100644 --- a/examples/packages/__fixture/hello1.nix +++ b/examples/packages/__fixture/hello1.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, stdenv, diff --git a/examples/packages/__fixture/hello2.nix b/examples/packages/__fixture/hello2.nix index 87e7df0..8a35a96 100644 --- a/examples/packages/__fixture/hello2.nix +++ b/examples/packages/__fixture/hello2.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, stdenv, diff --git a/examples/packages/default.nix b/examples/packages/default.nix index 714c517..97c2a23 100644 --- a/examples/packages/default.nix +++ b/examples/packages/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[file:../../docs/org/pops-packages.org::*Example][Example:1]] { omnibus, diff --git a/examples/packagesOverlay.nix b/examples/packagesOverlay.nix index 9596709..3d0e415 100644 --- a/examples/packagesOverlay.nix +++ b/examples/packagesOverlay.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[file:../docs/org/pops-packages.org::*Example][Example:3]] { super, omnibus }: let diff --git a/flake.nix b/flake.nix index 10aa786..35211b8 100644 --- a/flake.nix +++ b/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { flops.url = "github:gtrunsec/flops"; diff --git a/local/cells/repo/configs.nix b/local/cells/repo/configs.nix index 187af2f..2ee0dc2 100755 --- a/local/cells/repo/configs.nix +++ b/local/cells/repo/configs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + /* This file holds configuration data for repo dotfiles. Q: Why not just put the put the file there? diff --git a/local/cells/repo/devshellProfiles.nix b/local/cells/repo/devshellProfiles.nix index fbf01d6..94adcf9 100644 --- a/local/cells/repo/devshellProfiles.nix +++ b/local/cells/repo/devshellProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + cell.pops.devshellProfiles.exports.self diff --git a/local/cells/repo/pops.nix b/local/cells/repo/pops.nix index 5e64248..1b5c032 100644 --- a/local/cells/repo/pops.nix +++ b/local/cells/repo/pops.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, cell }: let inherit (inputs) nixpkgs; diff --git a/local/cells/repo/shells.nix b/local/cells/repo/shells.nix index 7c4c11d..670f0d1 100755 --- a/local/cells/repo/shells.nix +++ b/local/cells/repo/shells.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + /* This file holds reproducible shells with commands in them. They conveniently also generate config files in their startup hook. @@ -28,6 +32,8 @@ in nixpkgs.statix nixpkgs.deadnix nixpkgs.tree + + nixpkgs.reuse ]; commands = [ ]; diff --git a/local/flake.nix b/local/flake.nix index ee1fee8..b07ab53 100755 --- a/local/flake.nix +++ b/local/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { nixConfig = { extra-substituters = [ diff --git a/local/lock/flake.nix b/local/lock/flake.nix index c0ab1de..ab83f78 100644 --- a/local/lock/flake.nix +++ b/local/lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; diff --git a/src/__init.nix b/src/__init.nix index 294f7ef..622bbda 100644 --- a/src/__init.nix +++ b/src/__init.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs }: let inherit (inputs) flops self; diff --git a/src/errors/inputsSource.nix b/src/errors/inputsSource.nix index a4e2474..b65ec76 100644 --- a/src/errors/inputsSource.nix +++ b/src/errors/inputsSource.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: list: let diff --git a/src/errors/requiredInputs.nix b/src/errors/requiredInputs.nix index 70f6327..316323f 100644 --- a/src/errors/requiredInputs.nix +++ b/src/errors/requiredInputs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super }: inputs': object: listNames: let diff --git a/src/flakeOutputs.nix b/src/flakeOutputs.nix index c9bbc32..8d21852 100644 --- a/src/flakeOutputs.nix +++ b/src/flakeOutputs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let outputs = root.lib.mapPopsExports super.pops; in diff --git a/src/lib/addLoadToPops.nix b/src/lib/addLoadToPops.nix index ecc73dd..7f7a40e 100644 --- a/src/lib/addLoadToPops.nix +++ b/src/lib/addLoadToPops.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: list: pops: load: lib.listToAttrs ( diff --git a/src/lib/addLoadToPopsFilterBySrc.nix b/src/lib/addLoadToPopsFilterBySrc.nix index 6902f6f..b997c5b 100644 --- a/src/lib/addLoadToPopsFilterBySrc.nix +++ b/src/lib/addLoadToPopsFilterBySrc.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super }: dir: pops: ext: let diff --git a/src/lib/attrsets/filterAttrsOnlyRecursive.nix b/src/lib/attrsets/filterAttrsOnlyRecursive.nix index 7b79e22..e4a3cf3 100644 --- a/src/lib/attrsets/filterAttrsOnlyRecursive.nix +++ b/src/lib/attrsets/filterAttrsOnlyRecursive.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super }: pred: set: lib.listToAttrs ( diff --git a/src/lib/attrsets/filterDerivations.nix b/src/lib/attrsets/filterDerivations.nix index f806a9a..3c225fa 100644 --- a/src/lib/attrsets/filterDerivations.nix +++ b/src/lib/attrsets/filterDerivations.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { super, lib }: super.filterAttrsOnlyRecursive ( n: attrs: lib.isDerivation attrs || attrs.recurseForDerivations or false diff --git a/src/lib/attrsets/stripAttrsForHydra.nix b/src/lib/attrsets/stripAttrsForHydra.nix index d65c0cd..25c44bc 100644 --- a/src/lib/attrsets/stripAttrsForHydra.nix +++ b/src/lib/attrsets/stripAttrsForHydra.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { super }: super.filterAttrsOnlyRecursive ( n: _: n != "recurseForDerivations" && n != "dimension" diff --git a/src/lib/filterSrc.nix b/src/lib/filterSrc.nix index 03cbd8a..da90caa 100644 --- a/src/lib/filterSrc.nix +++ b/src/lib/filterSrc.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, root }: src: let diff --git a/src/lib/inputsToPaths.nix b/src/lib/inputsToPaths.nix index 3ca35ee..c000175 100644 --- a/src/lib/inputsToPaths.nix +++ b/src/lib/inputsToPaths.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, flops }: # let # # Helper function to collect outPath attributes recursively diff --git a/src/lib/loaderInputs.nix b/src/lib/loaderInputs.nix index 189e8b8..a1cee52 100644 --- a/src/lib/loaderInputs.nix +++ b/src/lib/loaderInputs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + inputs.self.pops.self.load.inputs // { omnibus = diff --git a/src/lib/mapLoadToPops.nix b/src/lib/mapLoadToPops.nix index cc5454d..0fc76a8 100644 --- a/src/lib/mapLoadToPops.nix +++ b/src/lib/mapLoadToPops.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: pops: load: lib.mapAttrsRecursiveCond ((as: !(as ? "addLoadExtender"))) diff --git a/src/lib/mapPopsExports'.nix b/src/lib/mapPopsExports'.nix index 861b7a2..47acfb8 100644 --- a/src/lib/mapPopsExports'.nix +++ b/src/lib/mapPopsExports'.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: pops: let diff --git a/src/lib/mapPopsExports.nix b/src/lib/mapPopsExports.nix index fc92d53..6c6da4f 100644 --- a/src/lib/mapPopsExports.nix +++ b/src/lib/mapPopsExports.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: pops: # mapAttrsRecursiveCond' = diff --git a/src/lib/recursiveAttrValues.nix b/src/lib/recursiveAttrValues.nix index 1e3272d..f14781f 100644 --- a/src/lib/recursiveAttrValues.nix +++ b/src/lib/recursiveAttrValues.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: let diff --git a/src/lib/types.nix b/src/lib/types.nix index b81bf6c..b101ee9 100644 --- a/src/lib/types.nix +++ b/src/lib/types.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, yants, diff --git a/src/load.nix b/src/load.nix index 9de9791..a44cb83 100644 --- a/src/load.nix +++ b/src/load.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root }: let load = root.pops.load; diff --git a/src/mkHome.nix b/src/mkHome.nix index 1e11c7a..b1b8e4f 100644 --- a/src/mkHome.nix +++ b/src/mkHome.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: homeModule: userSet: shell: suites: let diff --git a/src/ops/makes.nix b/src/ops/makes.nix index 7ca98b3..d32c21c 100644 --- a/src/ops/makes.nix +++ b/src/ops/makes.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, lib, diff --git a/src/ops/mkMicrovm.nix b/src/ops/mkMicrovm.nix index 423210a..1f9f1d7 100644 --- a/src/ops/mkMicrovm.nix +++ b/src/ops/mkMicrovm.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # credit: https://github.com/divnix/std/blob/main/src/lib/ops/mkMicrovm.nix# { inputs, root }: let diff --git a/src/ops/readYAML.nix b/src/ops/readYAML.nix index 11af43d..b4da75d 100644 --- a/src/ops/readYAML.nix +++ b/src/ops/readYAML.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, root }: # source from std let inherit (root.errors.requiredInputs inputs "omnibus.pops.self" [ "nixpkgs" ]) diff --git a/src/outputs.nix b/src/outputs.nix index 68043a3..c6d22b1 100644 --- a/src/outputs.nix +++ b/src/outputs.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + super.flakeOutputs diff --git a/src/pops/_exportsOmnibusProfiles.nix b/src/pops/_exportsOmnibusProfiles.nix index 00465d0..ca07c56 100644 --- a/src/pops/_exportsOmnibusProfiles.nix +++ b/src/pops/_exportsOmnibusProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: self: lib.mapAttrs (n: v: (if lib.isAttrs v then v else v { })) self diff --git a/src/pops/allData.nix b/src/pops/allData.nix index b0f4fba..38ea1cb 100644 --- a/src/pops/allData.nix +++ b/src/pops/allData.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (super.data.addLoadExtender { load = { loader = with haumea; [ diff --git a/src/pops/configs.nix b/src/pops/configs.nix index 9187a13..cf1b544 100644 --- a/src/pops/configs.nix +++ b/src/pops/configs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { flops, lib, diff --git a/src/pops/darwinModules.nix b/src/pops/darwinModules.nix index d117c04..9d389a3 100644 --- a/src/pops/darwinModules.nix +++ b/src/pops/darwinModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + super.nixosModules.addLoadExtender { load.src = projectDir + "/units/nixos/darwinModules"; } diff --git a/src/pops/darwinProfiles.nix b/src/pops/darwinProfiles.nix index a194438..e2326e6 100644 --- a/src/pops/darwinProfiles.nix +++ b/src/pops/darwinProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + super.nixosProfiles.addLoadExtender { load = { src = projectDir + "/units/nixos/darwinProfiles"; diff --git a/src/pops/data.nix b/src/pops/data.nix index 2473023..b5c9206 100644 --- a/src/pops/data.nix +++ b/src/pops/data.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + flops.haumea.pops.default.setInit { loader = with haumea; [ matchers.json diff --git a/src/pops/devshellModules.nix b/src/pops/devshellModules.nix index c5779e6..8427c5d 100644 --- a/src/pops/devshellModules.nix +++ b/src/pops/devshellModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + super.nixosModules.addLoadExtender { load = { src = projectDir + "/units/devshell/modules"; diff --git a/src/pops/devshellProfiles.nix b/src/pops/devshellProfiles.nix index 4a7511f..390e2c1 100644 --- a/src/pops/devshellProfiles.nix +++ b/src/pops/devshellProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + super.nixosProfiles.addLoadExtender { load = { src = projectDir + "/units/devshell/profiles"; diff --git a/src/pops/flake-parts.nix b/src/pops/flake-parts.nix index 147d728..a287a2c 100644 --- a/src/pops/flake-parts.nix +++ b/src/pops/flake-parts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { modules = super.nixosModules.addLoadExtender { load.src = projectDir + "/units/flake-parts/modules"; diff --git a/src/pops/flake.nix b/src/pops/flake.nix index baf9127..e4784df 100644 --- a/src/pops/flake.nix +++ b/src/pops/flake.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + flops.flake.pops.default.setInitInputs (projectDir + "/local/lock") diff --git a/src/pops/homeModules.nix b/src/pops/homeModules.nix index f22aaca..d10a628 100644 --- a/src/pops/homeModules.nix +++ b/src/pops/homeModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (flops.haumea.pops.default.setInit { src = projectDir + "/units/nixos/homeModules"; type = "nixosModules"; diff --git a/src/pops/homeProfiles.nix b/src/pops/homeProfiles.nix index 24ea3a7..260e73f 100644 --- a/src/pops/homeProfiles.nix +++ b/src/pops/homeProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (super.homeModules.addLoadExtender { load = { src = projectDir + "/units/nixos/homeProfiles"; diff --git a/src/pops/jupyenv.nix b/src/pops/jupyenv.nix index 46a47ba..00f550c 100644 --- a/src/pops/jupyenv.nix +++ b/src/pops/jupyenv.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, lib, diff --git a/src/pops/load.nix b/src/pops/load.nix index 5a0b67f..642836d 100644 --- a/src/pops/load.nix +++ b/src/pops/load.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { flops, haumea, diff --git a/src/pops/microvms.nix b/src/pops/microvms.nix index 139f257..1871c05 100644 --- a/src/pops/microvms.nix +++ b/src/pops/microvms.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, haumea, diff --git a/src/pops/nixosModules.nix b/src/pops/nixosModules.nix index 3a0434e..4c62972 100644 --- a/src/pops/nixosModules.nix +++ b/src/pops/nixosModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (flops.haumea.pops.default.setInit { src = projectDir + "/units/nixos/nixosModules"; type = "nixosModules"; diff --git a/src/pops/nixosProfiles.nix b/src/pops/nixosProfiles.nix index 0f77a3f..dd8e43e 100644 --- a/src/pops/nixosProfiles.nix +++ b/src/pops/nixosProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (super.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/nixosProfiles"; diff --git a/src/pops/overlays.nix b/src/pops/overlays.nix index 0b4095b..b967b2b 100644 --- a/src/pops/overlays.nix +++ b/src/pops/overlays.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { flops, haumea, diff --git a/src/pops/packages.nix b/src/pops/packages.nix index 21a8da3..1de33e0 100644 --- a/src/pops/packages.nix +++ b/src/pops/packages.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[id:f7adb0ad-2cc1-4723-a796-bf608682456a][No heading:1]] { super, root }: load: diff --git a/src/pops/scripts.nix b/src/pops/scripts.nix index 72fdc34..014ed83 100644 --- a/src/pops/scripts.nix +++ b/src/pops/scripts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) nixpkgs; inherit (root.ops) makes; diff --git a/src/pops/srvos.nix b/src/pops/srvos.nix index 84aa44b..9e945be 100644 --- a/src/pops/srvos.nix +++ b/src/pops/srvos.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (flops.haumea.pops.default.setInit { src = super.flake.inputs.srvos + "/nixos"; type = "nixosProfiles"; diff --git a/src/pops/std.nix b/src/pops/std.nix index dcfa172..9bcac78 100644 --- a/src/pops/std.nix +++ b/src/pops/std.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, haumea, diff --git a/templates/hivebus/flake.nix b/templates/hivebus/flake.nix index 7805fd3..877e25d 100644 --- a/templates/hivebus/flake.nix +++ b/templates/hivebus/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { omnibus.url = "github:gtrunsec/omnibus"; diff --git a/templates/hivebus/nix/hive/cells/hosts/colmenaConfigurations.nix b/templates/hivebus/nix/hive/cells/hosts/colmenaConfigurations.nix index 1579a60..0faedd8 100644 --- a/templates/hivebus/nix/hive/cells/hosts/colmenaConfigurations.nix +++ b/templates/hivebus/nix/hive/cells/hosts/colmenaConfigurations.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { cell }: { example = { diff --git a/templates/hivebus/nix/hive/cells/hosts/darwinConfigurations.nix b/templates/hivebus/nix/hive/cells/hosts/darwinConfigurations.nix index c164116..e45c472 100644 --- a/templates/hivebus/nix/hive/cells/hosts/darwinConfigurations.nix +++ b/templates/hivebus/nix/hive/cells/hosts/darwinConfigurations.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, cell }: let inherit (inputs.nixpkgs) lib; diff --git a/templates/hivebus/nix/hive/cells/hosts/nixosConfigurations.nix b/templates/hivebus/nix/hive/cells/hosts/nixosConfigurations.nix index ff026e5..9c6b618 100644 --- a/templates/hivebus/nix/hive/cells/hosts/nixosConfigurations.nix +++ b/templates/hivebus/nix/hive/cells/hosts/nixosConfigurations.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, cell }: let inherit (inputs.nixpkgs) lib; diff --git a/templates/hivebus/nix/hive/cells/repo/configs.nix b/templates/hivebus/nix/hive/cells/repo/configs.nix index b4a0392..6cfa130 100755 --- a/templates/hivebus/nix/hive/cells/repo/configs.nix +++ b/templates/hivebus/nix/hive/cells/repo/configs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + /* This file holds configuration data for repo dotfiles. Q: Why not just put the put the file there? diff --git a/templates/hivebus/nix/hive/cells/repo/configs/conform.nix b/templates/hivebus/nix/hive/cells/repo/configs/conform.nix index e052f45..8d49774 100644 --- a/templates/hivebus/nix/hive/cells/repo/configs/conform.nix +++ b/templates/hivebus/nix/hive/cells/repo/configs/conform.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs }: with inputs.dmerge; { data = { diff --git a/templates/hivebus/nix/hive/cells/repo/configs/just.nix b/templates/hivebus/nix/hive/cells/repo/configs/just.nix index e7ac803..63f1f3a 100644 --- a/templates/hivebus/nix/hive/cells/repo/configs/just.nix +++ b/templates/hivebus/nix/hive/cells/repo/configs/just.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { data = { tasks = { diff --git a/templates/hivebus/nix/hive/cells/repo/lib.nix b/templates/hivebus/nix/hive/cells/repo/lib.nix index a449723..f374ea4 100644 --- a/templates/hivebus/nix/hive/cells/repo/lib.nix +++ b/templates/hivebus/nix/hive/cells/repo/lib.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, cell }: let inherit (inputs) nixpkgs; diff --git a/templates/hivebus/nix/hive/cells/repo/shells.nix b/templates/hivebus/nix/hive/cells/repo/shells.nix index 832a0c3..16a68be 100755 --- a/templates/hivebus/nix/hive/cells/repo/shells.nix +++ b/templates/hivebus/nix/hive/cells/repo/shells.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + /* This file holds reproducible shells with commands in them. They conveniently also generate config files in their startup hook. diff --git a/templates/hivebus/nix/hive/flake.nix b/templates/hivebus/nix/hive/flake.nix index 929b22f..3ae0972 100644 --- a/templates/hivebus/nix/hive/flake.nix +++ b/templates/hivebus/nix/hive/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; diff --git a/templates/hivebus/nix/lock/flake.nix b/templates/hivebus/nix/lock/flake.nix index b01d978..db0b4ac 100644 --- a/templates/hivebus/nix/lock/flake.nix +++ b/templates/hivebus/nix/lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixos-generators.url = "github:nix-community/nixos-generators"; diff --git a/templates/hivebus/nix/packages/hello.nix b/templates/hivebus/nix/packages/hello.nix index 59fc906..3a2c694 100644 --- a/templates/hivebus/nix/packages/hello.nix +++ b/templates/hivebus/nix/packages/hello.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { callPackage, lib, diff --git a/templates/hivebus/nix/src/__init.nix b/templates/hivebus/nix/src/__init.nix index 7aba032..b9d61c8 100644 --- a/templates/hivebus/nix/src/__init.nix +++ b/templates/hivebus/nix/src/__init.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, eachSystem }: let inherit ((inputs.omnibus.pops.load { }).load.inputs) haumea; diff --git a/templates/hivebus/nix/src/filterPopsSrc.nix b/templates/hivebus/nix/src/filterPopsSrc.nix index b426d88..f1db013 100644 --- a/templates/hivebus/nix/src/filterPopsSrc.nix +++ b/templates/hivebus/nix/src/filterPopsSrc.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, root }: src: dir: let diff --git a/templates/hivebus/nix/src/flakeOutputs.nix b/templates/hivebus/nix/src/flakeOutputs.nix index b1a774a..1eefa49 100644 --- a/templates/hivebus/nix/src/flakeOutputs.nix +++ b/templates/hivebus/nix/src/flakeOutputs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super, diff --git a/templates/hivebus/nix/src/hosts.nix b/templates/hivebus/nix/src/hosts.nix index 5ce54e1..93fdb30 100644 --- a/templates/hivebus/nix/src/hosts.nix +++ b/templates/hivebus/nix/src/hosts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (inputs.omnibus.load { src = projectDir + "/units/nixos/hosts"; loader = with haumea; [ (matchers.nix loaders.scoped) ]; diff --git a/templates/hivebus/nix/src/pops/__hostsLoad/darwinModules.nix b/templates/hivebus/nix/src/pops/__hostsLoad/darwinModules.nix index 4d06f59..9b806ea 100644 --- a/templates/hivebus/nix/src/pops/__hostsLoad/darwinModules.nix +++ b/templates/hivebus/nix/src/pops/__hostsLoad/darwinModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.nixosModules.addLoadExtender { load = { diff --git a/templates/hivebus/nix/src/pops/__hostsLoad/darwinProfiles.nix b/templates/hivebus/nix/src/pops/__hostsLoad/darwinProfiles.nix index 24276fe..12eebb9 100644 --- a/templates/hivebus/nix/src/pops/__hostsLoad/darwinProfiles.nix +++ b/templates/hivebus/nix/src/pops/__hostsLoad/darwinProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.nixosModules.addLoadExtender { load = { diff --git a/templates/hivebus/nix/src/pops/__hostsLoad/homeModules.nix b/templates/hivebus/nix/src/pops/__hostsLoad/homeModules.nix index 9f4fd81..2e57d9a 100644 --- a/templates/hivebus/nix/src/pops/__hostsLoad/homeModules.nix +++ b/templates/hivebus/nix/src/pops/__hostsLoad/homeModules.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: _name: (root.pops.homeModules.addLoadExtender { load = { }; }) diff --git a/templates/hivebus/nix/src/pops/__hostsLoad/homeProfiles.nix b/templates/hivebus/nix/src/pops/__hostsLoad/homeProfiles.nix index 399b9ab..e774991 100644 --- a/templates/hivebus/nix/src/pops/__hostsLoad/homeProfiles.nix +++ b/templates/hivebus/nix/src/pops/__hostsLoad/homeProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.homeProfiles.addLoadExtender { load = { }; }) diff --git a/templates/hivebus/nix/src/pops/__hostsLoad/nixosModules.nix b/templates/hivebus/nix/src/pops/__hostsLoad/nixosModules.nix index b53ce90..823d85b 100644 --- a/templates/hivebus/nix/src/pops/__hostsLoad/nixosModules.nix +++ b/templates/hivebus/nix/src/pops/__hostsLoad/nixosModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: _name: (root.pops.nixosModules.addLoadExtender { diff --git a/templates/hivebus/nix/src/pops/__hostsLoad/nixosProfiles.nix b/templates/hivebus/nix/src/pops/__hostsLoad/nixosProfiles.nix index c899d74..1204f56 100644 --- a/templates/hivebus/nix/src/pops/__hostsLoad/nixosProfiles.nix +++ b/templates/hivebus/nix/src/pops/__hostsLoad/nixosProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.nixosProfiles.addLoadExtender { load = { }; }) diff --git a/templates/hivebus/nix/src/pops/darwinModules.nix b/templates/hivebus/nix/src/pops/darwinModules.nix index 6b18fb4..4f232a0 100644 --- a/templates/hivebus/nix/src/pops/darwinModules.nix +++ b/templates/hivebus/nix/src/pops/darwinModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/darwinModules"; diff --git a/templates/hivebus/nix/src/pops/darwinProfiles.nix b/templates/hivebus/nix/src/pops/darwinProfiles.nix index 840b699..27f4702 100644 --- a/templates/hivebus/nix/src/pops/darwinProfiles.nix +++ b/templates/hivebus/nix/src/pops/darwinProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/darwinProfiles"; diff --git a/templates/hivebus/nix/src/pops/homeModules.nix b/templates/hivebus/nix/src/pops/homeModules.nix index 1c70b3b..176139c 100644 --- a/templates/hivebus/nix/src/pops/homeModules.nix +++ b/templates/hivebus/nix/src/pops/homeModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeModules.addLoadExtender { load = { src = projectDir + "/units/nixos/homeModules"; diff --git a/templates/hivebus/nix/src/pops/homeProfiles.nix b/templates/hivebus/nix/src/pops/homeProfiles.nix index dddbdd3..4f2a66f 100644 --- a/templates/hivebus/nix/src/pops/homeProfiles.nix +++ b/templates/hivebus/nix/src/pops/homeProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeProfiles.addLoadExtender { load = { src = projectDir + "/units/nixos/homeProfiles"; diff --git a/templates/hivebus/nix/src/pops/hosts.nix b/templates/hivebus/nix/src/pops/hosts.nix index 6434e38..e00db5f 100644 --- a/templates/hivebus/nix/src/pops/hosts.nix +++ b/templates/hivebus/nix/src/pops/hosts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super, diff --git a/templates/hivebus/nix/src/pops/nixosModules.nix b/templates/hivebus/nix/src/pops/nixosModules.nix index ebb2b9a..3c3d3cb 100644 --- a/templates/hivebus/nix/src/pops/nixosModules.nix +++ b/templates/hivebus/nix/src/pops/nixosModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/nixosModules"; diff --git a/templates/hivebus/nix/src/pops/nixosProfiles.nix b/templates/hivebus/nix/src/pops/nixosProfiles.nix index 4f284fe..8e15c8b 100644 --- a/templates/hivebus/nix/src/pops/nixosProfiles.nix +++ b/templates/hivebus/nix/src/pops/nixosProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosProfiles.addLoadExtender { load = { src = projectDir + "/units/nixos/nixosProfiles"; diff --git a/templates/hivebus/nix/src/pops/omnibus/homeModules.nix b/templates/hivebus/nix/src/pops/omnibus/homeModules.nix index c99a577..df5fff6 100644 --- a/templates/hivebus/nix/src/pops/omnibus/homeModules.nix +++ b/templates/hivebus/nix/src/pops/omnibus/homeModules.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeModules.addLoadExtender { load = { }; }) diff --git a/templates/hivebus/nix/src/pops/omnibus/homeProfiles.nix b/templates/hivebus/nix/src/pops/omnibus/homeProfiles.nix index e923a83..2235865 100644 --- a/templates/hivebus/nix/src/pops/omnibus/homeProfiles.nix +++ b/templates/hivebus/nix/src/pops/omnibus/homeProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeProfiles.addLoadExtender { load = { }; }) diff --git a/templates/hivebus/nix/src/pops/omnibus/lib.nix b/templates/hivebus/nix/src/pops/omnibus/lib.nix index 5c97eab..335d6c5 100644 --- a/templates/hivebus/nix/src/pops/omnibus/lib.nix +++ b/templates/hivebus/nix/src/pops/omnibus/lib.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + omnibus.pops.self.addLoadExtender { load.inputs = { inputs = inputs // root.pops.subflake.inputs; diff --git a/templates/hivebus/nix/src/pops/omnibus/nixosModules.nix b/templates/hivebus/nix/src/pops/omnibus/nixosModules.nix index 56cb3fd..64126e4 100644 --- a/templates/hivebus/nix/src/pops/omnibus/nixosModules.nix +++ b/templates/hivebus/nix/src/pops/omnibus/nixosModules.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { }; }) diff --git a/templates/hivebus/nix/src/pops/omnibus/nixosProfiles.nix b/templates/hivebus/nix/src/pops/omnibus/nixosProfiles.nix index 384d603..f9d7ceb 100644 --- a/templates/hivebus/nix/src/pops/omnibus/nixosProfiles.nix +++ b/templates/hivebus/nix/src/pops/omnibus/nixosProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosProfiles.addLoadExtender { load = { }; }).addExporters [ (POP.extendPop flops.haumea.pops.exporter ( self: _super: { diff --git a/templates/hivebus/nix/src/pops/omnibus/srvos.nix b/templates/hivebus/nix/src/pops/omnibus/srvos.nix index 6175851..12e204a 100644 --- a/templates/hivebus/nix/src/pops/omnibus/srvos.nix +++ b/templates/hivebus/nix/src/pops/omnibus/srvos.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.srvos.addLoadExtender { load = { }; }).addExporters [ (POP.extendPop flops.haumea.pops.exporter ( _self: _super: { exports.customProfiles = { }; } diff --git a/templates/hivebus/nix/src/pops/subflake.nix b/templates/hivebus/nix/src/pops/subflake.nix index d3ab1bc..83d3be6 100644 --- a/templates/hivebus/nix/src/pops/subflake.nix +++ b/templates/hivebus/nix/src/pops/subflake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.flake.addInputsExtender ( POP.extendPop flops.flake.pops.inputsExtender ( _self: _super: diff --git a/templates/hivebus/units/nixos/darwinModules/services/yabai.nix b/templates/hivebus/units/nixos/darwinModules/services/yabai.nix index ffcd441..e8c7c86 100644 --- a/templates/hivebus/units/nixos/darwinModules/services/yabai.nix +++ b/templates/hivebus/units/nixos/darwinModules/services/yabai.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { } diff --git a/templates/hivebus/units/nixos/darwinProfiles/presets/yabai.nix b/templates/hivebus/units/nixos/darwinProfiles/presets/yabai.nix index e303088..f255cea 100644 --- a/templates/hivebus/units/nixos/darwinProfiles/presets/yabai.nix +++ b/templates/hivebus/units/nixos/darwinProfiles/presets/yabai.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { servcies.yabai.enable = true; } diff --git a/templates/hivebus/units/nixos/homeModules/programs/emacs.nix b/templates/hivebus/units/nixos/homeModules/programs/emacs.nix index d1185b9..f17b011 100644 --- a/templates/hivebus/units/nixos/homeModules/programs/emacs.nix +++ b/templates/hivebus/units/nixos/homeModules/programs/emacs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options.__profiles__ = with lib; { test = mkOption { diff --git a/templates/hivebus/units/nixos/homeProfiles/presets/emacs.nix b/templates/hivebus/units/nixos/homeProfiles/presets/emacs.nix index f512122..f33d5cb 100644 --- a/templates/hivebus/units/nixos/homeProfiles/presets/emacs.nix +++ b/templates/hivebus/units/nixos/homeProfiles/presets/emacs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ inputs.self.homeModules.programs.emacs ]; programs.emacs.__profiles__.test = "profile.test"; diff --git a/templates/hivebus/units/nixos/hosts/darwin/darwinConfiguration.nix b/templates/hivebus/units/nixos/hosts/darwin/darwinConfiguration.nix index 3c83aaa..bc7ed25 100644 --- a/templates/hivebus/units/nixos/hosts/darwin/darwinConfiguration.nix +++ b/templates/hivebus/units/nixos/hosts/darwin/darwinConfiguration.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) nixpkgs darwin; in diff --git a/templates/hivebus/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix b/templates/hivebus/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix index 098f183..4cbafd1 100644 --- a/templates/hivebus/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix +++ b/templates/hivebus/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.nixosProfiles.presets.boot ]; boot.__profiles__.systemd-boot.enable = true; diff --git a/templates/hivebus/units/nixos/hosts/darwin/layouts.nix b/templates/hivebus/units/nixos/hosts/darwin/layouts.nix index fdc8a79..84eb145 100644 --- a/templates/hivebus/units/nixos/hosts/darwin/layouts.nix +++ b/templates/hivebus/units/nixos/hosts/darwin/layouts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, self, diff --git a/templates/hivebus/units/nixos/hosts/nixos/layouts.nix b/templates/hivebus/units/nixos/hosts/nixos/layouts.nix index 5c739e1..b565870 100644 --- a/templates/hivebus/units/nixos/hosts/nixos/layouts.nix +++ b/templates/hivebus/units/nixos/hosts/nixos/layouts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let outputs = inputs.self; in diff --git a/templates/hivebus/units/nixos/hosts/nixos/nixosConfiguration.nix b/templates/hivebus/units/nixos/hosts/nixos/nixosConfiguration.nix index efee22e..191c716 100644 --- a/templates/hivebus/units/nixos/hosts/nixos/nixosConfiguration.nix +++ b/templates/hivebus/units/nixos/hosts/nixos/nixosConfiguration.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) nixpkgs; in diff --git a/templates/hivebus/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix b/templates/hivebus/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix index 098f183..4cbafd1 100644 --- a/templates/hivebus/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix +++ b/templates/hivebus/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.nixosProfiles.presets.boot ]; boot.__profiles__.systemd-boot.enable = true; diff --git a/templates/hivebus/units/nixos/nixosModules/boot.nix b/templates/hivebus/units/nixos/nixosModules/boot.nix index d1185b9..f17b011 100644 --- a/templates/hivebus/units/nixos/nixosModules/boot.nix +++ b/templates/hivebus/units/nixos/nixosModules/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options.__profiles__ = with lib; { test = mkOption { diff --git a/templates/hivebus/units/nixos/nixosProfiles/presets/boot.nix b/templates/hivebus/units/nixos/nixosProfiles/presets/boot.nix index 5fd49f5..36e1b02 100644 --- a/templates/hivebus/units/nixos/nixosProfiles/presets/boot.nix +++ b/templates/hivebus/units/nixos/nixosProfiles/presets/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ inputs.self.nixosModules.boot ]; boot.__profiles__.test = "nixosProfiles.boot"; diff --git a/templates/nixos/flake.nix b/templates/nixos/flake.nix index 7805fd3..877e25d 100644 --- a/templates/nixos/flake.nix +++ b/templates/nixos/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { omnibus.url = "github:gtrunsec/omnibus"; diff --git a/templates/nixos/nix/lock/flake.nix b/templates/nixos/nix/lock/flake.nix index b01d978..db0b4ac 100644 --- a/templates/nixos/nix/lock/flake.nix +++ b/templates/nixos/nix/lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixos-generators.url = "github:nix-community/nixos-generators"; diff --git a/templates/nixos/nix/packages/hello.nix b/templates/nixos/nix/packages/hello.nix index 59fc906..3a2c694 100644 --- a/templates/nixos/nix/packages/hello.nix +++ b/templates/nixos/nix/packages/hello.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { callPackage, lib, diff --git a/templates/nixos/nix/src/__init.nix b/templates/nixos/nix/src/__init.nix index 7aba032..b9d61c8 100644 --- a/templates/nixos/nix/src/__init.nix +++ b/templates/nixos/nix/src/__init.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, eachSystem }: let inherit ((inputs.omnibus.pops.load { }).load.inputs) haumea; diff --git a/templates/nixos/nix/src/flakeOutputs.nix b/templates/nixos/nix/src/flakeOutputs.nix index b1a774a..1eefa49 100644 --- a/templates/nixos/nix/src/flakeOutputs.nix +++ b/templates/nixos/nix/src/flakeOutputs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super, diff --git a/templates/nixos/nix/src/hosts.nix b/templates/nixos/nix/src/hosts.nix index 5ce54e1..93fdb30 100644 --- a/templates/nixos/nix/src/hosts.nix +++ b/templates/nixos/nix/src/hosts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (inputs.omnibus.load { src = projectDir + "/units/nixos/hosts"; loader = with haumea; [ (matchers.nix loaders.scoped) ]; diff --git a/templates/nixos/nix/src/pops/__hostsLoad/darwinModules.nix b/templates/nixos/nix/src/pops/__hostsLoad/darwinModules.nix index 4d06f59..9b806ea 100644 --- a/templates/nixos/nix/src/pops/__hostsLoad/darwinModules.nix +++ b/templates/nixos/nix/src/pops/__hostsLoad/darwinModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.nixosModules.addLoadExtender { load = { diff --git a/templates/nixos/nix/src/pops/__hostsLoad/darwinProfiles.nix b/templates/nixos/nix/src/pops/__hostsLoad/darwinProfiles.nix index 24276fe..12eebb9 100644 --- a/templates/nixos/nix/src/pops/__hostsLoad/darwinProfiles.nix +++ b/templates/nixos/nix/src/pops/__hostsLoad/darwinProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.nixosModules.addLoadExtender { load = { diff --git a/templates/nixos/nix/src/pops/__hostsLoad/homeModules.nix b/templates/nixos/nix/src/pops/__hostsLoad/homeModules.nix index 9f4fd81..2e57d9a 100644 --- a/templates/nixos/nix/src/pops/__hostsLoad/homeModules.nix +++ b/templates/nixos/nix/src/pops/__hostsLoad/homeModules.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: _name: (root.pops.homeModules.addLoadExtender { load = { }; }) diff --git a/templates/nixos/nix/src/pops/__hostsLoad/homeProfiles.nix b/templates/nixos/nix/src/pops/__hostsLoad/homeProfiles.nix index 399b9ab..e774991 100644 --- a/templates/nixos/nix/src/pops/__hostsLoad/homeProfiles.nix +++ b/templates/nixos/nix/src/pops/__hostsLoad/homeProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.homeProfiles.addLoadExtender { load = { }; }) diff --git a/templates/nixos/nix/src/pops/__hostsLoad/nixosModules.nix b/templates/nixos/nix/src/pops/__hostsLoad/nixosModules.nix index b53ce90..823d85b 100644 --- a/templates/nixos/nix/src/pops/__hostsLoad/nixosModules.nix +++ b/templates/nixos/nix/src/pops/__hostsLoad/nixosModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: _name: (root.pops.nixosModules.addLoadExtender { diff --git a/templates/nixos/nix/src/pops/__hostsLoad/nixosProfiles.nix b/templates/nixos/nix/src/pops/__hostsLoad/nixosProfiles.nix index c899d74..1204f56 100644 --- a/templates/nixos/nix/src/pops/__hostsLoad/nixosProfiles.nix +++ b/templates/nixos/nix/src/pops/__hostsLoad/nixosProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { root, inputs }: (root.pops.nixosProfiles.addLoadExtender { load = { }; }) diff --git a/templates/nixos/nix/src/pops/darwinModules.nix b/templates/nixos/nix/src/pops/darwinModules.nix index 6b18fb4..4f232a0 100644 --- a/templates/nixos/nix/src/pops/darwinModules.nix +++ b/templates/nixos/nix/src/pops/darwinModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/darwinModules"; diff --git a/templates/nixos/nix/src/pops/darwinProfiles.nix b/templates/nixos/nix/src/pops/darwinProfiles.nix index 840b699..27f4702 100644 --- a/templates/nixos/nix/src/pops/darwinProfiles.nix +++ b/templates/nixos/nix/src/pops/darwinProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/darwinProfiles"; diff --git a/templates/nixos/nix/src/pops/homeModules.nix b/templates/nixos/nix/src/pops/homeModules.nix index 1c70b3b..176139c 100644 --- a/templates/nixos/nix/src/pops/homeModules.nix +++ b/templates/nixos/nix/src/pops/homeModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeModules.addLoadExtender { load = { src = projectDir + "/units/nixos/homeModules"; diff --git a/templates/nixos/nix/src/pops/homeProfiles.nix b/templates/nixos/nix/src/pops/homeProfiles.nix index dddbdd3..4f2a66f 100644 --- a/templates/nixos/nix/src/pops/homeProfiles.nix +++ b/templates/nixos/nix/src/pops/homeProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeProfiles.addLoadExtender { load = { src = projectDir + "/units/nixos/homeProfiles"; diff --git a/templates/nixos/nix/src/pops/hosts.nix b/templates/nixos/nix/src/pops/hosts.nix index 6434e38..e00db5f 100644 --- a/templates/nixos/nix/src/pops/hosts.nix +++ b/templates/nixos/nix/src/pops/hosts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, super, diff --git a/templates/nixos/nix/src/pops/nixosModules.nix b/templates/nixos/nix/src/pops/nixosModules.nix index ebb2b9a..3c3d3cb 100644 --- a/templates/nixos/nix/src/pops/nixosModules.nix +++ b/templates/nixos/nix/src/pops/nixosModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { src = projectDir + "/units/nixos/nixosModules"; diff --git a/templates/nixos/nix/src/pops/nixosProfiles.nix b/templates/nixos/nix/src/pops/nixosProfiles.nix index 4f284fe..8e15c8b 100644 --- a/templates/nixos/nix/src/pops/nixosProfiles.nix +++ b/templates/nixos/nix/src/pops/nixosProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosProfiles.addLoadExtender { load = { src = projectDir + "/units/nixos/nixosProfiles"; diff --git a/templates/nixos/nix/src/pops/omnibus/homeModules.nix b/templates/nixos/nix/src/pops/omnibus/homeModules.nix index c99a577..df5fff6 100644 --- a/templates/nixos/nix/src/pops/omnibus/homeModules.nix +++ b/templates/nixos/nix/src/pops/omnibus/homeModules.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeModules.addLoadExtender { load = { }; }) diff --git a/templates/nixos/nix/src/pops/omnibus/homeProfiles.nix b/templates/nixos/nix/src/pops/omnibus/homeProfiles.nix index e923a83..2235865 100644 --- a/templates/nixos/nix/src/pops/omnibus/homeProfiles.nix +++ b/templates/nixos/nix/src/pops/omnibus/homeProfiles.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.homeProfiles.addLoadExtender { load = { }; }) diff --git a/templates/nixos/nix/src/pops/omnibus/lib.nix b/templates/nixos/nix/src/pops/omnibus/lib.nix index 5c97eab..335d6c5 100644 --- a/templates/nixos/nix/src/pops/omnibus/lib.nix +++ b/templates/nixos/nix/src/pops/omnibus/lib.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + omnibus.pops.self.addLoadExtender { load.inputs = { inputs = inputs // root.pops.subflake.inputs; diff --git a/templates/nixos/nix/src/pops/omnibus/nixosModules.nix b/templates/nixos/nix/src/pops/omnibus/nixosModules.nix index 56cb3fd..64126e4 100644 --- a/templates/nixos/nix/src/pops/omnibus/nixosModules.nix +++ b/templates/nixos/nix/src/pops/omnibus/nixosModules.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosModules.addLoadExtender { load = { }; }) diff --git a/templates/nixos/nix/src/pops/omnibus/nixosProfiles.nix b/templates/nixos/nix/src/pops/omnibus/nixosProfiles.nix index 384d603..f9d7ceb 100644 --- a/templates/nixos/nix/src/pops/omnibus/nixosProfiles.nix +++ b/templates/nixos/nix/src/pops/omnibus/nixosProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.nixosProfiles.addLoadExtender { load = { }; }).addExporters [ (POP.extendPop flops.haumea.pops.exporter ( self: _super: { diff --git a/templates/nixos/nix/src/pops/omnibus/srvos.nix b/templates/nixos/nix/src/pops/omnibus/srvos.nix index 6175851..12e204a 100644 --- a/templates/nixos/nix/src/pops/omnibus/srvos.nix +++ b/templates/nixos/nix/src/pops/omnibus/srvos.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.srvos.addLoadExtender { load = { }; }).addExporters [ (POP.extendPop flops.haumea.pops.exporter ( _self: _super: { exports.customProfiles = { }; } diff --git a/templates/nixos/nix/src/pops/subflake.nix b/templates/nixos/nix/src/pops/subflake.nix index d3ab1bc..83d3be6 100644 --- a/templates/nixos/nix/src/pops/subflake.nix +++ b/templates/nixos/nix/src/pops/subflake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.flake.addInputsExtender ( POP.extendPop flops.flake.pops.inputsExtender ( _self: _super: diff --git a/templates/nixos/units/nixos/darwinModules/services/yabai.nix b/templates/nixos/units/nixos/darwinModules/services/yabai.nix index ffcd441..e8c7c86 100644 --- a/templates/nixos/units/nixos/darwinModules/services/yabai.nix +++ b/templates/nixos/units/nixos/darwinModules/services/yabai.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { } diff --git a/templates/nixos/units/nixos/darwinProfiles/presets/yabai.nix b/templates/nixos/units/nixos/darwinProfiles/presets/yabai.nix index e303088..f255cea 100644 --- a/templates/nixos/units/nixos/darwinProfiles/presets/yabai.nix +++ b/templates/nixos/units/nixos/darwinProfiles/presets/yabai.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { servcies.yabai.enable = true; } diff --git a/templates/nixos/units/nixos/homeModules/programs/emacs.nix b/templates/nixos/units/nixos/homeModules/programs/emacs.nix index d1185b9..f17b011 100644 --- a/templates/nixos/units/nixos/homeModules/programs/emacs.nix +++ b/templates/nixos/units/nixos/homeModules/programs/emacs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options.__profiles__ = with lib; { test = mkOption { diff --git a/templates/nixos/units/nixos/homeProfiles/presets/emacs.nix b/templates/nixos/units/nixos/homeProfiles/presets/emacs.nix index f512122..f33d5cb 100644 --- a/templates/nixos/units/nixos/homeProfiles/presets/emacs.nix +++ b/templates/nixos/units/nixos/homeProfiles/presets/emacs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ inputs.self.homeModules.programs.emacs ]; programs.emacs.__profiles__.test = "profile.test"; diff --git a/templates/nixos/units/nixos/hosts/darwin/darwinConfiguration.nix b/templates/nixos/units/nixos/hosts/darwin/darwinConfiguration.nix index 3c83aaa..bc7ed25 100644 --- a/templates/nixos/units/nixos/hosts/darwin/darwinConfiguration.nix +++ b/templates/nixos/units/nixos/hosts/darwin/darwinConfiguration.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) nixpkgs darwin; in diff --git a/templates/nixos/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix b/templates/nixos/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix index 098f183..4cbafd1 100644 --- a/templates/nixos/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix +++ b/templates/nixos/units/nixos/hosts/darwin/darwinProfiles/bootstrap.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.nixosProfiles.presets.boot ]; boot.__profiles__.systemd-boot.enable = true; diff --git a/templates/nixos/units/nixos/hosts/darwin/layouts.nix b/templates/nixos/units/nixos/hosts/darwin/layouts.nix index fdc8a79..84eb145 100644 --- a/templates/nixos/units/nixos/hosts/darwin/layouts.nix +++ b/templates/nixos/units/nixos/hosts/darwin/layouts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, self, diff --git a/templates/nixos/units/nixos/hosts/nixos/layouts.nix b/templates/nixos/units/nixos/hosts/nixos/layouts.nix index 5c739e1..b565870 100644 --- a/templates/nixos/units/nixos/hosts/nixos/layouts.nix +++ b/templates/nixos/units/nixos/hosts/nixos/layouts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let outputs = inputs.self; in diff --git a/templates/nixos/units/nixos/hosts/nixos/nixosConfiguration.nix b/templates/nixos/units/nixos/hosts/nixos/nixosConfiguration.nix index efee22e..191c716 100644 --- a/templates/nixos/units/nixos/hosts/nixos/nixosConfiguration.nix +++ b/templates/nixos/units/nixos/hosts/nixos/nixosConfiguration.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) nixpkgs; in diff --git a/templates/nixos/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix b/templates/nixos/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix index 098f183..4cbafd1 100644 --- a/templates/nixos/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix +++ b/templates/nixos/units/nixos/hosts/nixos/nixosProfiles/bootstrap.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.nixosProfiles.presets.boot ]; boot.__profiles__.systemd-boot.enable = true; diff --git a/templates/nixos/units/nixos/nixosModules/boot.nix b/templates/nixos/units/nixos/nixosModules/boot.nix index d1185b9..f17b011 100644 --- a/templates/nixos/units/nixos/nixosModules/boot.nix +++ b/templates/nixos/units/nixos/nixosModules/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options.__profiles__ = with lib; { test = mkOption { diff --git a/templates/nixos/units/nixos/nixosProfiles/presets/boot.nix b/templates/nixos/units/nixos/nixosProfiles/presets/boot.nix index 5fd49f5..36e1b02 100644 --- a/templates/nixos/units/nixos/nixosProfiles/presets/boot.nix +++ b/templates/nixos/units/nixos/nixosProfiles/presets/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ inputs.self.nixosModules.boot ]; boot.__profiles__.test = "nixosProfiles.boot"; diff --git a/templates/simple/flake.nix b/templates/simple/flake.nix index 2749fc8..ace196c 100644 --- a/templates/simple/flake.nix +++ b/templates/simple/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { omnibus.url = "github:gtrunsec/omnibus"; diff --git a/templates/simple/units/nixos/homeProfiles/presets/home-user1.nix b/templates/simple/units/nixos/homeProfiles/presets/home-user1.nix index 1e164d8..6a4758b 100644 --- a/templates/simple/units/nixos/homeProfiles/presets/home-user1.nix +++ b/templates/simple/units/nixos/homeProfiles/presets/home-user1.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config }: { home = { diff --git a/templates/simple/units/nixos/nixosModules/boot.nix b/templates/simple/units/nixos/nixosModules/boot.nix index d1185b9..f17b011 100644 --- a/templates/simple/units/nixos/nixosModules/boot.nix +++ b/templates/simple/units/nixos/nixosModules/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options.__profiles__ = with lib; { test = mkOption { diff --git a/templates/simple/units/nixos/nixosProfiles/presets/boot.nix b/templates/simple/units/nixos/nixosProfiles/presets/boot.nix index 5fd49f5..36e1b02 100644 --- a/templates/simple/units/nixos/nixosProfiles/presets/boot.nix +++ b/templates/simple/units/nixos/nixosProfiles/presets/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ inputs.self.nixosModules.boot ]; boot.__profiles__.test = "nixosProfiles.boot"; diff --git a/tests/darwin/expr.nix b/tests/darwin/expr.nix index e4a652d..610997d 100644 --- a/tests/darwin/expr.nix +++ b/tests/darwin/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { trace, lib, diff --git a/tests/darwin/format.nix b/tests/darwin/format.nix index f9e1770..213e2e4 100644 --- a/tests/darwin/format.nix +++ b/tests/darwin/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/tests/data/expr.nix b/tests/data/expr.nix index 7e52966..04d825a 100644 --- a/tests/data/expr.nix +++ b/tests/data/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus }: let inherit (omnibus.flake.inputs) nixpkgs; diff --git a/tests/devshell/__lock/flake.nix b/tests/devshell/__lock/flake.nix index 139d472..5e56dec 100644 --- a/tests/devshell/__lock/flake.nix +++ b/tests/devshell/__lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; diff --git a/tests/devshell/expr.nix b/tests/devshell/expr.nix index e918fb1..f6fc9db 100644 --- a/tests/devshell/expr.nix +++ b/tests/devshell/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, POP, diff --git a/tests/flake-parts/__lock/flake.nix b/tests/flake-parts/__lock/flake.nix index d898dd4..a713454 100644 --- a/tests/flake-parts/__lock/flake.nix +++ b/tests/flake-parts/__lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; diff --git a/tests/flake-parts/expr.nix b/tests/flake-parts/expr.nix index 999d0b8..deececf 100644 --- a/tests/flake-parts/expr.nix +++ b/tests/flake-parts/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, lib, diff --git a/tests/jupyenv/__fixture/example.nix b/tests/jupyenv/__fixture/example.nix index 5e68a1d..f3f6657 100644 --- a/tests/jupyenv/__fixture/example.nix +++ b/tests/jupyenv/__fixture/example.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs }: { kernel.bash.omnibus = { diff --git a/tests/jupyenv/__lock/flake.nix b/tests/jupyenv/__lock/flake.nix index 7d1ce23..e5ca956 100644 --- a/tests/jupyenv/__lock/flake.nix +++ b/tests/jupyenv/__lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixpkgs.follows = "jupyenv/nixpkgs"; diff --git a/tests/jupyenv/expr.nix b/tests/jupyenv/expr.nix index 71e357e..45478d4 100644 --- a/tests/jupyenv/expr.nix +++ b/tests/jupyenv/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus }: let system = "x86_64-linux"; diff --git a/tests/jupyenv/format.nix b/tests/jupyenv/format.nix index f9e1770..213e2e4 100644 --- a/tests/jupyenv/format.nix +++ b/tests/jupyenv/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/tests/lib/expr.nix b/tests/lib/expr.nix index fbfaa28..2c7702d 100644 --- a/tests/lib/expr.nix +++ b/tests/lib/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus }: let inherit (omnibus.lib) inputsToPaths; diff --git a/tests/lib/format.nix b/tests/lib/format.nix index f9e1770..213e2e4 100644 --- a/tests/lib/format.nix +++ b/tests/lib/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/tests/loaders/expr.nix b/tests/loaders/expr.nix index abc1a5c..aa71879 100644 --- a/tests/loaders/expr.nix +++ b/tests/loaders/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, lib, diff --git a/tests/makes/__fixture/example/default.nix b/tests/makes/__fixture/example/default.nix index 3029854..846656a 100644 --- a/tests/makes/__fixture/example/default.nix +++ b/tests/makes/__fixture/example/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + makeScript { name = "runScriptWithEnv"; searchPaths.bin = [ nixpkgs.awscli ]; diff --git a/tests/makes/expr.nix b/tests/makes/expr.nix index 295ab86..e563e43 100644 --- a/tests/makes/expr.nix +++ b/tests/makes/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, lib }: let inherit (omnibus.flake.inputs) nixpkgs makesSrc; diff --git a/tests/makes/format.nix b/tests/makes/format.nix index f9e1770..213e2e4 100644 --- a/tests/makes/format.nix +++ b/tests/makes/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/tests/microvms/__fixture/example.nix b/tests/microvms/__fixture/example.nix index 46e1f97..e4fa0c2 100644 --- a/tests/microvms/__fixture/example.nix +++ b/tests/microvms/__fixture/example.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, diff --git a/tests/microvms/__lock/flake.nix b/tests/microvms/__lock/flake.nix index f074574..eaeaa3f 100644 --- a/tests/microvms/__lock/flake.nix +++ b/tests/microvms/__lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; diff --git a/tests/microvms/expr.nix b/tests/microvms/expr.nix index 31b10a3..790abb3 100644 --- a/tests/microvms/expr.nix +++ b/tests/microvms/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, lib, diff --git a/tests/microvms/format.nix b/tests/microvms/format.nix index f9e1770..213e2e4 100644 --- a/tests/microvms/format.nix +++ b/tests/microvms/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/tests/nixos/__fixture/__lock/flake.nix b/tests/nixos/__fixture/__lock/flake.nix index 4c19e70..cc80401 100644 --- a/tests/nixos/__fixture/__lock/flake.nix +++ b/tests/nixos/__fixture/__lock/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs = { catppuccin-bat = { diff --git a/tests/nixos/__fixture/__nixosProfiles/bootstrap.nix b/tests/nixos/__fixture/__nixosProfiles/bootstrap.nix index b311b43..f41e88d 100644 --- a/tests/nixos/__fixture/__nixosProfiles/bootstrap.nix +++ b/tests/nixos/__fixture/__nixosProfiles/bootstrap.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { fileSystems."/" = { device = "/dev/disk/by-label/nixos"; diff --git a/tests/nixos/__fixture/_test.nix b/tests/nixos/__fixture/_test.nix index e85cd38..2fd7d2c 100644 --- a/tests/nixos/__fixture/_test.nix +++ b/tests/nixos/__fixture/_test.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + ( { lib, options, ... }: { diff --git a/tests/nixos/__fixture/layouts.nix b/tests/nixos/__fixture/layouts.nix index e642d74..ee5f93d 100644 --- a/tests/nixos/__fixture/layouts.nix +++ b/tests/nixos/__fixture/layouts.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) nixpkgs darwin; # exports.default to be default diff --git a/tests/nixos/__fixture/pops/flake.nix b/tests/nixos/__fixture/pops/flake.nix index e213d98..8022b0a 100644 --- a/tests/nixos/__fixture/pops/flake.nix +++ b/tests/nixos/__fixture/pops/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.flake.addInputsExtender ( POP.extendPop flops.flake.pops.inputsExtender ( _self: _super: diff --git a/tests/nixos/__fixture/pops/homeModules.nix b/tests/nixos/__fixture/pops/homeModules.nix index ce8d4cd..70dc877 100644 --- a/tests/nixos/__fixture/pops/homeModules.nix +++ b/tests/nixos/__fixture/pops/homeModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) dmerge; in diff --git a/tests/nixos/__fixture/pops/homeProfiles.nix b/tests/nixos/__fixture/pops/homeProfiles.nix index 7710e65..aa29b1d 100644 --- a/tests/nixos/__fixture/pops/homeProfiles.nix +++ b/tests/nixos/__fixture/pops/homeProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) dmerge; in diff --git a/tests/nixos/__fixture/pops/nixosModules.nix b/tests/nixos/__fixture/pops/nixosModules.nix index f2f304e..dd786db 100644 --- a/tests/nixos/__fixture/pops/nixosModules.nix +++ b/tests/nixos/__fixture/pops/nixosModules.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) dmerge; in diff --git a/tests/nixos/__fixture/pops/nixosProfiles.nix b/tests/nixos/__fixture/pops/nixosProfiles.nix index 960ac8c..5507ec6 100644 --- a/tests/nixos/__fixture/pops/nixosProfiles.nix +++ b/tests/nixos/__fixture/pops/nixosProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let inherit (inputs) dmerge; in diff --git a/tests/nixos/__fixture/pops/omnibus.nix b/tests/nixos/__fixture/pops/omnibus.nix index 1733f47..7e039f0 100644 --- a/tests/nixos/__fixture/pops/omnibus.nix +++ b/tests/nixos/__fixture/pops/omnibus.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.self.addLoadExtender { load.inputs = { inputs = inputs; diff --git a/tests/nixos/__fixture/pops/selfNixOSProfiles.nix b/tests/nixos/__fixture/pops/selfNixOSProfiles.nix index 8332a00..61891f4 100644 --- a/tests/nixos/__fixture/pops/selfNixOSProfiles.nix +++ b/tests/nixos/__fixture/pops/selfNixOSProfiles.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (super.nixosProfiles.addLoadExtender { load = { src = ../__nixosProfiles; diff --git a/tests/nixos/__fixture/pops/srvos.nix b/tests/nixos/__fixture/pops/srvos.nix index c759eb7..806075d 100644 --- a/tests/nixos/__fixture/pops/srvos.nix +++ b/tests/nixos/__fixture/pops/srvos.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + (omnibus.pops.srvos.addLoadExtender { load.inputs = { }; }).addExporters [ (POP.extendPop flops.haumea.pops.exporter ( _self: _super: { exports.customProfiles = { }; } diff --git a/tests/nixos/_pops.nix b/tests/nixos/_pops.nix index 8c8db2c..9da63e8 100644 --- a/tests/nixos/_pops.nix +++ b/tests/nixos/_pops.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, root, diff --git a/tests/nixos/expr.nix b/tests/nixos/expr.nix index ce853d0..1e6ac5d 100644 --- a/tests/nixos/expr.nix +++ b/tests/nixos/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { super, trace, diff --git a/tests/nixos/format.nix b/tests/nixos/format.nix index f9e1770..213e2e4 100644 --- a/tests/nixos/format.nix +++ b/tests/nixos/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/tests/srvos/expr.nix b/tests/srvos/expr.nix index 2b96d29..ccecf0f 100644 --- a/tests/srvos/expr.nix +++ b/tests/srvos/expr.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { trace, lib, diff --git a/tests/srvos/format.nix b/tests/srvos/format.nix index f9e1770..213e2e4 100644 --- a/tests/srvos/format.nix +++ b/tests/srvos/format.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + "pretty" diff --git a/units/configs/cog.nix b/units/configs/cog.nix index 8522166..d12371d 100644 --- a/units/configs/cog.nix +++ b/units/configs/cog.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs }: { default = { diff --git a/units/configs/conform.nix b/units/configs/conform.nix index 2e7c882..6224b38 100644 --- a/units/configs/conform.nix +++ b/units/configs/conform.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { default.data = { commit = { diff --git a/units/configs/editorconfig.nix b/units/configs/editorconfig.nix index 1337752..95c8c02 100644 --- a/units/configs/editorconfig.nix +++ b/units/configs/editorconfig.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { default.data = { root = true; diff --git a/units/configs/githubsettings.nix b/units/configs/githubsettings.nix index 2df6e45..98b919d 100644 --- a/units/configs/githubsettings.nix +++ b/units/configs/githubsettings.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let colors = { black = "#000000"; diff --git a/units/configs/lefthook.nix b/units/configs/lefthook.nix index 594551d..fb14c05 100644 --- a/units/configs/lefthook.nix +++ b/units/configs/lefthook.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, omnibus }: let inherit diff --git a/units/configs/treefmt.nix b/units/configs/treefmt.nix index e300819..429a209 100644 --- a/units/configs/treefmt.nix +++ b/units/configs/treefmt.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, omnibus }: let inherit diff --git a/units/devshell/modules/language/rust.nix b/units/devshell/modules/language/rust.nix index ac5aba8..4ffd1f3 100644 --- a/units/devshell/modules/language/rust.nix +++ b/units/devshell/modules/language/rust.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options = with lib; { rustSrc = mkOption { diff --git a/units/devshell/profiles/nickel.nix b/units/devshell/profiles/nickel.nix index 40b4e48..13658a6 100644 --- a/units/devshell/profiles/nickel.nix +++ b/units/devshell/profiles/nickel.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, inputs }: let inherit diff --git a/units/devshell/profiles/rust.nix b/units/devshell/profiles/rust.nix index 664a9b2..4bb0eda 100644 --- a/units/devshell/profiles/rust.nix +++ b/units/devshell/profiles/rust.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, inputs, diff --git a/units/flake-parts/modules/todo.nix b/units/flake-parts/modules/todo.nix index ffcd441..e8c7c86 100644 --- a/units/flake-parts/modules/todo.nix +++ b/units/flake-parts/modules/todo.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { } diff --git a/units/flake-parts/profiles/process-compose/sqlite-example.nix b/units/flake-parts/profiles/process-compose/sqlite-example.nix index eebcdd1..739c65b 100644 --- a/units/flake-parts/profiles/process-compose/sqlite-example.nix +++ b/units/flake-parts/profiles/process-compose/sqlite-example.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, omnibus, diff --git a/units/nixos/darwinModules/homebrew/default.nix b/units/nixos/darwinModules/homebrew/default.nix index c209ec6..2946ae7 100644 --- a/units/nixos/darwinModules/homebrew/default.nix +++ b/units/nixos/darwinModules/homebrew/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let casks = lib.subtractLists cfg.__profiles__.casks.removePackagesFromProfiles ( lib.optionals cfg.__profiles__.enableReaders [ diff --git a/units/nixos/darwinProfiles/init.nix b/units/nixos/darwinProfiles/init.nix index 5bc1b1c..ec7f548 100644 --- a/units/nixos/darwinProfiles/init.nix +++ b/units/nixos/darwinProfiles/init.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { self, super }: let presets = super.presets; diff --git a/units/nixos/darwinProfiles/presets/bootstrap.nix b/units/nixos/darwinProfiles/presets/bootstrap.nix index cb7f134..3e99c66 100644 --- a/units/nixos/darwinProfiles/presets/bootstrap.nix +++ b/units/nixos/darwinProfiles/presets/bootstrap.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, pkgs, diff --git a/units/nixos/darwinProfiles/presets/homebrew.nix b/units/nixos/darwinProfiles/presets/homebrew.nix index c05b490..167544b 100644 --- a/units/nixos/darwinProfiles/presets/homebrew.nix +++ b/units/nixos/darwinProfiles/presets/homebrew.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, lib }: { imports = [ omnibus.darwinModules.homebrew ]; diff --git a/units/nixos/darwinProfiles/presets/nix/default.nix b/units/nixos/darwinProfiles/presets/nix/default.nix index dc185d2..952bf4f 100644 --- a/units/nixos/darwinProfiles/presets/nix/default.nix +++ b/units/nixos/darwinProfiles/presets/nix/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, pkgs, diff --git a/units/nixos/darwinProfiles/presets/nix/optimise.nix b/units/nixos/darwinProfiles/presets/nix/optimise.nix index d99be89..1d51d3f 100644 --- a/units/nixos/darwinProfiles/presets/nix/optimise.nix +++ b/units/nixos/darwinProfiles/presets/nix/optimise.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # credit: https://github.com/montchr/dotfield/blob/68f6c9c3f6cc67c5c775b8a2a3f93cae6a76b3a5/profiles/darwinProfiles/core/nix-optimizations-darwin.nix#L9 { config }: { diff --git a/units/nixos/darwinProfiles/presets/sketchybar.nix b/units/nixos/darwinProfiles/presets/sketchybar.nix index 04b8fcb..cd28e21 100644 --- a/units/nixos/darwinProfiles/presets/sketchybar.nix +++ b/units/nixos/darwinProfiles/presets/sketchybar.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs }: { services.sketchybar = { diff --git a/units/nixos/homeModules/programs/alacritty/default.nix b/units/nixos/homeModules/programs/alacritty/default.nix index 3c4bb94..c2d67e6 100644 --- a/units/nixos/homeModules/programs/alacritty/default.nix +++ b/units/nixos/homeModules/programs/alacritty/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let CSIuKeyBindings = (builtins.fromTOML (builtins.readFile ./key-bindings.toml)).key_bindings; diff --git a/units/nixos/homeModules/programs/bat.nix b/units/nixos/homeModules/programs/bat.nix index 03e450d..ff3586c 100644 --- a/units/nixos/homeModules/programs/bat.nix +++ b/units/nixos/homeModules/programs/bat.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config = with lib; diff --git a/units/nixos/homeModules/programs/firefox.nix b/units/nixos/homeModules/programs/firefox.nix index c16b274..99ffb3b 100644 --- a/units/nixos/homeModules/programs/firefox.nix +++ b/units/nixos/homeModules/programs/firefox.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options.__profiles__ = with lib; { nurPkgs = mkOption { diff --git a/units/nixos/homeModules/programs/navi.nix b/units/nixos/homeModules/programs/navi.nix index d88a315..8ee9c98 100644 --- a/units/nixos/homeModules/programs/navi.nix +++ b/units/nixos/homeModules/programs/navi.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, inputs, diff --git a/units/nixos/homeModules/wayland/windowManager/hyprland/config.nix b/units/nixos/homeModules/wayland/windowManager/hyprland/config.nix index 699eb54..59a8a69 100644 --- a/units/nixos/homeModules/wayland/windowManager/hyprland/config.nix +++ b/units/nixos/homeModules/wayland/windowManager/hyprland/config.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config = with lib; diff --git a/units/nixos/homeModules/wayland/windowManager/hyprland/default.nix b/units/nixos/homeModules/wayland/windowManager/hyprland/default.nix index 8538351..4a8eeba 100644 --- a/units/nixos/homeModules/wayland/windowManager/hyprland/default.nix +++ b/units/nixos/homeModules/wayland/windowManager/hyprland/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ (loadSubmodule ./config.nix) ]; diff --git a/units/nixos/homeProfiles/presets/alacritty.nix b/units/nixos/homeProfiles/presets/alacritty.nix index a5b0954..1f75d4f 100644 --- a/units/nixos/homeProfiles/presets/alacritty.nix +++ b/units/nixos/homeProfiles/presets/alacritty.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.alacritty = { enable = true; diff --git a/units/nixos/homeProfiles/presets/atuin.nix b/units/nixos/homeProfiles/presets/atuin.nix index f7e090a..03d84d4 100644 --- a/units/nixos/homeProfiles/presets/atuin.nix +++ b/units/nixos/homeProfiles/presets/atuin.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.atuin = { # credit: https://github.com/montchr/dotfield/commit/6237fa7cde4b6fc1ba5b28234e5ce0c295c7bff9#diff-e85828e2a1e40863d27b847846b1f592b906fd9fa495f89b52057125bcc992f7 diff --git a/units/nixos/homeProfiles/presets/bat.nix b/units/nixos/homeProfiles/presets/bat.nix index efbe13f..30b83b5 100644 --- a/units/nixos/homeProfiles/presets/bat.nix +++ b/units/nixos/homeProfiles/presets/bat.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.homeModules.programs.bat ]; programs.bat = { diff --git a/units/nixos/homeProfiles/presets/brave.nix b/units/nixos/homeProfiles/presets/brave.nix index e4199ef..ef11d7a 100644 --- a/units/nixos/homeProfiles/presets/brave.nix +++ b/units/nixos/homeProfiles/presets/brave.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { home.packages = with pkgs; [ diff --git a/units/nixos/homeProfiles/presets/broot.nix b/units/nixos/homeProfiles/presets/broot.nix index 22809b1..122f3eb 100644 --- a/units/nixos/homeProfiles/presets/broot.nix +++ b/units/nixos/homeProfiles/presets/broot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, ... }: { # https://github.com/Canop/broot diff --git a/units/nixos/homeProfiles/presets/carapace.nix b/units/nixos/homeProfiles/presets/carapace.nix index 6acb1f2..8f72c94 100644 --- a/units/nixos/homeProfiles/presets/carapace.nix +++ b/units/nixos/homeProfiles/presets/carapace.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.carapace = { enable = true; diff --git a/units/nixos/homeProfiles/presets/dircolors/default.nix b/units/nixos/homeProfiles/presets/dircolors/default.nix index 839897f..51449f2 100644 --- a/units/nixos/homeProfiles/presets/dircolors/default.nix +++ b/units/nixos/homeProfiles/presets/dircolors/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.dircolors = { enable = true; diff --git a/units/nixos/homeProfiles/presets/direnv.nix b/units/nixos/homeProfiles/presets/direnv.nix index 9ab2027..48cf723 100644 --- a/units/nixos/homeProfiles/presets/direnv.nix +++ b/units/nixos/homeProfiles/presets/direnv.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.direnv = { enable = true; diff --git a/units/nixos/homeProfiles/presets/dropbox.nix b/units/nixos/homeProfiles/presets/dropbox.nix index f6e2454..d5e7cf0 100644 --- a/units/nixos/homeProfiles/presets/dropbox.nix +++ b/units/nixos/homeProfiles/presets/dropbox.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { # FIXME: dropox missing module named 'gi' https://github.com/NixOS/nixpkgs/issues/235345 diff --git a/units/nixos/homeProfiles/presets/firefox.nix b/units/nixos/homeProfiles/presets/firefox.nix index 7fd3380..ec69a4a 100644 --- a/units/nixos/homeProfiles/presets/firefox.nix +++ b/units/nixos/homeProfiles/presets/firefox.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, omnibus, diff --git a/units/nixos/homeProfiles/presets/fzf.nix b/units/nixos/homeProfiles/presets/fzf.nix index ecc9f3e..f83eed1 100644 --- a/units/nixos/homeProfiles/presets/fzf.nix +++ b/units/nixos/homeProfiles/presets/fzf.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, ... }: { programs.fzf = { diff --git a/units/nixos/homeProfiles/presets/gh.nix b/units/nixos/homeProfiles/presets/gh.nix index 26ec6a4..8d200f5 100644 --- a/units/nixos/homeProfiles/presets/gh.nix +++ b/units/nixos/homeProfiles/presets/gh.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.gh = { enable = true; diff --git a/units/nixos/homeProfiles/presets/git.nix b/units/nixos/homeProfiles/presets/git.nix index 6756ab4..7dfeb38 100644 --- a/units/nixos/homeProfiles/presets/git.nix +++ b/units/nixos/homeProfiles/presets/git.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.git = { enable = true; diff --git a/units/nixos/homeProfiles/presets/gpg.nix b/units/nixos/homeProfiles/presets/gpg.nix index 77fc893..29e79d6 100644 --- a/units/nixos/homeProfiles/presets/gpg.nix +++ b/units/nixos/homeProfiles/presets/gpg.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, diff --git a/units/nixos/homeProfiles/presets/gtk/default.nix b/units/nixos/homeProfiles/presets/gtk/default.nix index 361af7d..24edbdc 100644 --- a/units/nixos/homeProfiles/presets/gtk/default.nix +++ b/units/nixos/homeProfiles/presets/gtk/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, pkgs, ... }: { home.packages = with pkgs; [ diff --git a/units/nixos/homeProfiles/presets/hyprland/default.nix b/units/nixos/homeProfiles/presets/hyprland/default.nix index 794cb5e..62ec4e0 100644 --- a/units/nixos/homeProfiles/presets/hyprland/default.nix +++ b/units/nixos/homeProfiles/presets/hyprland/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.homeModules.wayland.windowManager.hyprland ]; wayland.windowManager.hyprland = { diff --git a/units/nixos/homeProfiles/presets/latex.nix b/units/nixos/homeProfiles/presets/latex.nix index 29a7163..b097f5a 100644 --- a/units/nixos/homeProfiles/presets/latex.nix +++ b/units/nixos/homeProfiles/presets/latex.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { home.packages = with pkgs; [ diff --git a/units/nixos/homeProfiles/presets/navi.nix b/units/nixos/homeProfiles/presets/navi.nix index 9ce24c6..548e820 100644 --- a/units/nixos/homeProfiles/presets/navi.nix +++ b/units/nixos/homeProfiles/presets/navi.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, diff --git a/units/nixos/homeProfiles/presets/nushell/default.nix b/units/nixos/homeProfiles/presets/nushell/default.nix index fec2ab8..3e1891b 100644 --- a/units/nixos/homeProfiles/presets/nushell/default.nix +++ b/units/nixos/homeProfiles/presets/nushell/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { ... }: { programs.nushell = { diff --git a/units/nixos/homeProfiles/presets/pls.nix b/units/nixos/homeProfiles/presets/pls.nix index b3fc3d7..fe9cfaa 100644 --- a/units/nixos/homeProfiles/presets/pls.nix +++ b/units/nixos/homeProfiles/presets/pls.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.pls.enable = true; } diff --git a/units/nixos/homeProfiles/presets/qt/default.nix b/units/nixos/homeProfiles/presets/qt/default.nix index abaff7a..d324cf0 100644 --- a/units/nixos/homeProfiles/presets/qt/default.nix +++ b/units/nixos/homeProfiles/presets/qt/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, pkgs, ... }: { qt = { diff --git a/units/nixos/homeProfiles/presets/secrets/_1password.nix b/units/nixos/homeProfiles/presets/secrets/_1password.nix index 0dfeb67..6dd2396 100644 --- a/units/nixos/homeProfiles/presets/secrets/_1password.nix +++ b/units/nixos/homeProfiles/presets/secrets/_1password.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { home.packages = with pkgs; [ diff --git a/units/nixos/homeProfiles/presets/spell-check.nix b/units/nixos/homeProfiles/presets/spell-check.nix index 8fa7d0a..476e8d0 100644 --- a/units/nixos/homeProfiles/presets/spell-check.nix +++ b/units/nixos/homeProfiles/presets/spell-check.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + let ordering = lib.concatStringsSep "," ( (lib.optionals pkgs.stdenv.isDarwin [ "AppleSpell" ]) diff --git a/units/nixos/homeProfiles/presets/starship/default.nix b/units/nixos/homeProfiles/presets/starship/default.nix index 17ba896..d1d3501 100644 --- a/units/nixos/homeProfiles/presets/starship/default.nix +++ b/units/nixos/homeProfiles/presets/starship/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib }: { programs.starship = { diff --git a/units/nixos/homeProfiles/presets/tmux/default.nix b/units/nixos/homeProfiles/presets/tmux/default.nix index 3282c40..c1c2b44 100644 --- a/units/nixos/homeProfiles/presets/tmux/default.nix +++ b/units/nixos/homeProfiles/presets/tmux/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { programs.tmux = { diff --git a/units/nixos/homeProfiles/presets/wezterm/default.nix b/units/nixos/homeProfiles/presets/wezterm/default.nix index cb29cbb..a28b961 100644 --- a/units/nixos/homeProfiles/presets/wezterm/default.nix +++ b/units/nixos/homeProfiles/presets/wezterm/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, diff --git a/units/nixos/homeProfiles/presets/yazi.nix b/units/nixos/homeProfiles/presets/yazi.nix index bd7813c..33b58d3 100644 --- a/units/nixos/homeProfiles/presets/yazi.nix +++ b/units/nixos/homeProfiles/presets/yazi.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.yazi = { enable = true; diff --git a/units/nixos/homeProfiles/presets/zellij.nix b/units/nixos/homeProfiles/presets/zellij.nix index 58fefc6..03fe819 100644 --- a/units/nixos/homeProfiles/presets/zellij.nix +++ b/units/nixos/homeProfiles/presets/zellij.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.zellij = { enable = true; diff --git a/units/nixos/homeProfiles/presets/zoxide.nix b/units/nixos/homeProfiles/presets/zoxide.nix index 46272c6..5043091 100644 --- a/units/nixos/homeProfiles/presets/zoxide.nix +++ b/units/nixos/homeProfiles/presets/zoxide.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.zoxide = { enable = true; diff --git a/units/nixos/homeProfiles/shell.nix b/units/nixos/homeProfiles/shell.nix index 0e8439b..b684d97 100644 --- a/units/nixos/homeProfiles/shell.nix +++ b/units/nixos/homeProfiles/shell.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[id:cbe34da3-ffbb-423c-aee4-d0cd71af51e4][shell:1]] { root, diff --git a/units/nixos/nixosModules/boot/default.nix b/units/nixos/nixosModules/boot/default.nix index 3e5bff0..d6e5075 100644 --- a/units/nixos/nixosModules/boot/default.nix +++ b/units/nixos/nixosModules/boot/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + with lib; { # do we need to import the submodules automatically in imports? imports = [ diff --git a/units/nixos/nixosModules/boot/systemd-initrd.nix b/units/nixos/nixosModules/boot/systemd-initrd.nix index 4f6f2b1..e4a395b 100644 --- a/units/nixos/nixosModules/boot/systemd-initrd.nix +++ b/units/nixos/nixosModules/boot/systemd-initrd.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config = with lib; diff --git a/units/nixos/nixosModules/hardware/bluetooth.nix b/units/nixos/nixosModules/hardware/bluetooth.nix index 61fc89b..18bf044 100644 --- a/units/nixos/nixosModules/hardware/bluetooth.nix +++ b/units/nixos/nixosModules/hardware/bluetooth.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib }: { options.__profiles__ = with lib; { diff --git a/units/nixos/nixosModules/omnibus/bootstrap/default.nix b/units/nixos/nixosModules/omnibus/bootstrap/default.nix index 28a661a..0ea0b80 100644 --- a/units/nixos/nixosModules/omnibus/bootstrap/default.nix +++ b/units/nixos/nixosModules/omnibus/bootstrap/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, loadSubmodule }: { options = with lib; { diff --git a/units/nixos/nixosModules/omnibus/bootstrap/nrepl.nix b/units/nixos/nixosModules/omnibus/bootstrap/nrepl.nix index 54957fe..e1d3d03 100644 --- a/units/nixos/nixosModules/omnibus/bootstrap/nrepl.nix +++ b/units/nixos/nixosModules/omnibus/bootstrap/nrepl.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { flakePath }: let Flake = diff --git a/units/nixos/nixosModules/omnibus/bootstrap/packages.nix b/units/nixos/nixosModules/omnibus/bootstrap/packages.nix index 7a4668a..548ce1d 100644 --- a/units/nixos/nixosModules/omnibus/bootstrap/packages.nix +++ b/units/nixos/nixosModules/omnibus/bootstrap/packages.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, diff --git a/units/nixos/nixosModules/omnibus/coding/bash.nix b/units/nixos/nixosModules/omnibus/coding/bash.nix index 7c16711..701412c 100644 --- a/units/nixos/nixosModules/omnibus/coding/bash.nix +++ b/units/nixos/nixosModules/omnibus/coding/bash.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options = with lib; { enableLsp = mkEnableOption ( diff --git a/units/nixos/nixosModules/omnibus/coding/conf.nix b/units/nixos/nixosModules/omnibus/coding/conf.nix index 7c16711..701412c 100644 --- a/units/nixos/nixosModules/omnibus/coding/conf.nix +++ b/units/nixos/nixosModules/omnibus/coding/conf.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options = with lib; { enableLsp = mkEnableOption ( diff --git a/units/nixos/nixosModules/omnibus/coding/nickel.nix b/units/nixos/nixosModules/omnibus/coding/nickel.nix index 7c16711..701412c 100644 --- a/units/nixos/nixosModules/omnibus/coding/nickel.nix +++ b/units/nixos/nixosModules/omnibus/coding/nickel.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options = with lib; { enableLsp = mkEnableOption ( diff --git a/units/nixos/nixosModules/omnibus/coding/python.nix b/units/nixos/nixosModules/omnibus/coding/python.nix index 171df75..73f0e99 100644 --- a/units/nixos/nixosModules/omnibus/coding/python.nix +++ b/units/nixos/nixosModules/omnibus/coding/python.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options = with lib; { enableLspBridge = mkEnableOption "Enable the language server protocol bridge support"; diff --git a/units/nixos/nixosModules/omnibus/coding/typst.nix b/units/nixos/nixosModules/omnibus/coding/typst.nix index 7c16711..701412c 100644 --- a/units/nixos/nixosModules/omnibus/coding/typst.nix +++ b/units/nixos/nixosModules/omnibus/coding/typst.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { options = with lib; { enableLsp = mkEnableOption ( diff --git a/units/nixos/nixosModules/virtualisation/default.nix b/units/nixos/nixosModules/virtualisation/default.nix index 749170f..ddda480 100644 --- a/units/nixos/nixosModules/virtualisation/default.nix +++ b/units/nixos/nixosModules/virtualisation/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, loadSubmodule }: { imports = [ (loadSubmodule ./packages.nix) ]; diff --git a/units/nixos/nixosModules/virtualisation/packages.nix b/units/nixos/nixosModules/virtualisation/packages.nix index 5bd25c9..918b141 100644 --- a/units/nixos/nixosModules/virtualisation/packages.nix +++ b/units/nixos/nixosModules/virtualisation/packages.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, config, diff --git a/units/nixos/nixosProfiles/bootstrap.nix b/units/nixos/nixosProfiles/bootstrap.nix index bda5304..2ca0088 100644 --- a/units/nixos/nixosProfiles/bootstrap.nix +++ b/units/nixos/nixosProfiles/bootstrap.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { default = [ ]; } diff --git a/units/nixos/nixosProfiles/cloud.nix b/units/nixos/nixosProfiles/cloud.nix index 3a811de..b29e402 100644 --- a/units/nixos/nixosProfiles/cloud.nix +++ b/units/nixos/nixosProfiles/cloud.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[file:../../../docs/org/nixosProfiles.org::*cloud][cloud:1]] { root, diff --git a/units/nixos/nixosProfiles/dev.nix b/units/nixos/nixosProfiles/dev.nix index 9755f77..62fbf1f 100644 --- a/units/nixos/nixosProfiles/dev.nix +++ b/units/nixos/nixosProfiles/dev.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[file:../../../docs/org/nixosProfiles.org::*coding][coding:1]] { root, self }: let diff --git a/units/nixos/nixosProfiles/hardware.nix b/units/nixos/nixosProfiles/hardware.nix index aa5bb41..e435360 100644 --- a/units/nixos/nixosProfiles/hardware.nix +++ b/units/nixos/nixosProfiles/hardware.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[file:../../../docs/org/nixosProfiles.org::*hardware][hardware:1]] { root, self }: let diff --git a/units/nixos/nixosProfiles/presets/audio/bluetooth.nix b/units/nixos/nixosProfiles/presets/audio/bluetooth.nix index 4e922f8..b47b14a 100644 --- a/units/nixos/nixosProfiles/presets/audio/bluetooth.nix +++ b/units/nixos/nixosProfiles/presets/audio/bluetooth.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus, pkgs, diff --git a/units/nixos/nixosProfiles/presets/audio/pipewire.nix b/units/nixos/nixosProfiles/presets/audio/pipewire.nix index f5094eb..384d634 100644 --- a/units/nixos/nixosProfiles/presets/audio/pipewire.nix +++ b/units/nixos/nixosProfiles/presets/audio/pipewire.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { lib, config }: { security.rtkit.enable = lib.mkDefault config.services.pipewire.enable; diff --git a/units/nixos/nixosProfiles/presets/boot.nix b/units/nixos/nixosProfiles/presets/boot.nix index b2edb6e..910f565 100644 --- a/units/nixos/nixosProfiles/presets/boot.nix +++ b/units/nixos/nixosProfiles/presets/boot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { imports = [ omnibus.nixosModules.boot ]; boot.__profiles__.systemd-boot.enable = true; diff --git a/units/nixos/nixosProfiles/presets/coding/bash.nix b/units/nixos/nixosProfiles/presets/coding/bash.nix index e015677..8083856 100644 --- a/units/nixos/nixosProfiles/presets/coding/bash.nix +++ b/units/nixos/nixosProfiles/presets/coding/bash.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, config, diff --git a/units/nixos/nixosProfiles/presets/coding/conf.nix b/units/nixos/nixosProfiles/presets/coding/conf.nix index 44b66b4..1f45b0c 100644 --- a/units/nixos/nixosProfiles/presets/coding/conf.nix +++ b/units/nixos/nixosProfiles/presets/coding/conf.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, config, diff --git a/units/nixos/nixosProfiles/presets/coding/d2.nix b/units/nixos/nixosProfiles/presets/coding/d2.nix index 6d53fa2..face8f4 100644 --- a/units/nixos/nixosProfiles/presets/coding/d2.nix +++ b/units/nixos/nixosProfiles/presets/coding/d2.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { environment.variables.PLAYWRIGHT_BROWSERS_PATH = diff --git a/units/nixos/nixosProfiles/presets/coding/nickel.nix b/units/nixos/nixosProfiles/presets/coding/nickel.nix index 04235a8..9e0a790 100644 --- a/units/nixos/nixosProfiles/presets/coding/nickel.nix +++ b/units/nixos/nixosProfiles/presets/coding/nickel.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, inputs, diff --git a/units/nixos/nixosProfiles/presets/coding/nix.nix b/units/nixos/nixosProfiles/presets/coding/nix.nix index b9365aa..ce26f1d 100644 --- a/units/nixos/nixosProfiles/presets/coding/nix.nix +++ b/units/nixos/nixosProfiles/presets/coding/nix.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, omnibus, diff --git a/units/nixos/nixosProfiles/presets/coding/python.nix b/units/nixos/nixosProfiles/presets/coding/python.nix index ff7a38e..caa7139 100644 --- a/units/nixos/nixosProfiles/presets/coding/python.nix +++ b/units/nixos/nixosProfiles/presets/coding/python.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, lib, ... }: let cfg = config.omnibus.coding.python; diff --git a/units/nixos/nixosProfiles/presets/coding/typst.nix b/units/nixos/nixosProfiles/presets/coding/typst.nix index 5f68b75..900a187 100644 --- a/units/nixos/nixosProfiles/presets/coding/typst.nix +++ b/units/nixos/nixosProfiles/presets/coding/typst.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, inputs, diff --git a/units/nixos/nixosProfiles/presets/contabo.nix b/units/nixos/nixosProfiles/presets/contabo.nix index dbacfe9..fb3f3ed 100644 --- a/units/nixos/nixosProfiles/presets/contabo.nix +++ b/units/nixos/nixosProfiles/presets/contabo.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, diff --git a/units/nixos/nixosProfiles/presets/display/dbus.nix b/units/nixos/nixosProfiles/presets/display/dbus.nix index fec2100..56fdd13 100644 --- a/units/nixos/nixosProfiles/presets/display/dbus.nix +++ b/units/nixos/nixosProfiles/presets/display/dbus.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, pkgs, ... }: { services.dbus = { diff --git a/units/nixos/nixosProfiles/presets/display/fcitx5.nix b/units/nixos/nixosProfiles/presets/display/fcitx5.nix index 4f0e1e3..e299d0a 100644 --- a/units/nixos/nixosProfiles/presets/display/fcitx5.nix +++ b/units/nixos/nixosProfiles/presets/display/fcitx5.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, lib, ... }: { i18n = { diff --git a/units/nixos/nixosProfiles/presets/display/fontconfig.nix b/units/nixos/nixosProfiles/presets/display/fontconfig.nix index be53f88..203701b 100644 --- a/units/nixos/nixosProfiles/presets/display/fontconfig.nix +++ b/units/nixos/nixosProfiles/presets/display/fontconfig.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { fonts.fontconfig = { antialias = true; diff --git a/units/nixos/nixosProfiles/presets/display/gdm.nix b/units/nixos/nixosProfiles/presets/display/gdm.nix index 8d72635..046da1c 100644 --- a/units/nixos/nixosProfiles/presets/display/gdm.nix +++ b/units/nixos/nixosProfiles/presets/display/gdm.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, ... }: { config = diff --git a/units/nixos/nixosProfiles/presets/display/greetd.nix b/units/nixos/nixosProfiles/presets/display/greetd.nix index 0358739..4dd2c23 100644 --- a/units/nixos/nixosProfiles/presets/display/greetd.nix +++ b/units/nixos/nixosProfiles/presets/display/greetd.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, ... }: { config = diff --git a/units/nixos/nixosProfiles/presets/display/lightdm.nix b/units/nixos/nixosProfiles/presets/display/lightdm.nix index 090fc34..f977f14 100644 --- a/units/nixos/nixosProfiles/presets/display/lightdm.nix +++ b/units/nixos/nixosProfiles/presets/display/lightdm.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, ... }: { config = diff --git a/units/nixos/nixosProfiles/presets/display/opengl.nix b/units/nixos/nixosProfiles/presets/display/opengl.nix index 6422473..15ff298 100644 --- a/units/nixos/nixosProfiles/presets/display/opengl.nix +++ b/units/nixos/nixosProfiles/presets/display/opengl.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { # hardware.opengl.extraPackages = with pkgs; [ diff --git a/units/nixos/nixosProfiles/presets/display/sddm.nix b/units/nixos/nixosProfiles/presets/display/sddm.nix index dd24ca4..2b02720 100644 --- a/units/nixos/nixosProfiles/presets/display/sddm.nix +++ b/units/nixos/nixosProfiles/presets/display/sddm.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, lib, ... }: { config = diff --git a/units/nixos/nixosProfiles/presets/display/xdg.nix b/units/nixos/nixosProfiles/presets/display/xdg.nix index b89b73b..e43ef17 100644 --- a/units/nixos/nixosProfiles/presets/display/xdg.nix +++ b/units/nixos/nixosProfiles/presets/display/xdg.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, pkgs, diff --git a/units/nixos/nixosProfiles/presets/filesystems/btrfs.nix b/units/nixos/nixosProfiles/presets/filesystems/btrfs.nix index 3697d17..50c93aa 100644 --- a/units/nixos/nixosProfiles/presets/filesystems/btrfs.nix +++ b/units/nixos/nixosProfiles/presets/filesystems/btrfs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { # protect data integrity services.btrfs.autoScrub = { diff --git a/units/nixos/nixosProfiles/presets/filesystems/gvfs.nix b/units/nixos/nixosProfiles/presets/filesystems/gvfs.nix index 4e5a433..0cb0de1 100644 --- a/units/nixos/nixosProfiles/presets/filesystems/gvfs.nix +++ b/units/nixos/nixosProfiles/presets/filesystems/gvfs.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # [[file:../../../../docs/org/nixosProfiles.org::*fileSystems][fileSystems:1]] { services.gvfs.enable = true; diff --git a/units/nixos/nixosProfiles/presets/filesystems/impermanence.nix b/units/nixos/nixosProfiles/presets/filesystems/impermanence.nix index e59ea9b..7c151cb 100644 --- a/units/nixos/nixosProfiles/presets/filesystems/impermanence.nix +++ b/units/nixos/nixosProfiles/presets/filesystems/impermanence.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, omnibus }: let inherit diff --git a/units/nixos/nixosProfiles/presets/filesystems/lvm.nix b/units/nixos/nixosProfiles/presets/filesystems/lvm.nix index 0000441..ddcbdf5 100644 --- a/units/nixos/nixosProfiles/presets/filesystems/lvm.nix +++ b/units/nixos/nixosProfiles/presets/filesystems/lvm.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { # https://sourceware.org/lvm2/ services.lvm = { diff --git a/units/nixos/nixosProfiles/presets/nix-ld.nix b/units/nixos/nixosProfiles/presets/nix-ld.nix index 6d7f349..7b9d95c 100644 --- a/units/nixos/nixosProfiles/presets/nix-ld.nix +++ b/units/nixos/nixosProfiles/presets/nix-ld.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { programs.nix-ld = { enable = true; diff --git a/units/nixos/nixosProfiles/presets/nix.nix b/units/nixos/nixosProfiles/presets/nix.nix index c0fa72b..9d5303e 100644 --- a/units/nixos/nixosProfiles/presets/nix.nix +++ b/units/nixos/nixosProfiles/presets/nix.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { nix = { package = pkgs.nixUnstable; diff --git a/units/nixos/nixosProfiles/presets/node.nix b/units/nixos/nixosProfiles/presets/node.nix index 2d1ed91..54b544b 100644 --- a/units/nixos/nixosProfiles/presets/node.nix +++ b/units/nixos/nixosProfiles/presets/node.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { environment.systemPackages = with pkgs; [ diff --git a/units/nixos/nixosProfiles/presets/openssh.nix b/units/nixos/nixosProfiles/presets/openssh.nix index 5364afd..c89be63 100644 --- a/units/nixos/nixosProfiles/presets/openssh.nix +++ b/units/nixos/nixosProfiles/presets/openssh.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { omnibus }: { imports = [ omnibus.srvos.common.openssh ]; diff --git a/units/nixos/nixosProfiles/presets/secrets/ecryptfs.nix b/units/nixos/nixosProfiles/presets/secrets/ecryptfs.nix index 9a8b19c..133aa44 100644 --- a/units/nixos/nixosProfiles/presets/secrets/ecryptfs.nix +++ b/units/nixos/nixosProfiles/presets/secrets/ecryptfs.nix @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # https://discourse.nixos.org/t/solene-linux-home-encryption-with-ecryptfs/26277 { security.pam.enableEcryptfs = true; } diff --git a/units/nixos/nixosProfiles/presets/secrets/gnome-keyring.nix b/units/nixos/nixosProfiles/presets/secrets/gnome-keyring.nix index d991367..6d04882 100644 --- a/units/nixos/nixosProfiles/presets/secrets/gnome-keyring.nix +++ b/units/nixos/nixosProfiles/presets/secrets/gnome-keyring.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + _: { pkgs, ... }: { diff --git a/units/nixos/nixosProfiles/presets/secrets/gpg.nix b/units/nixos/nixosProfiles/presets/secrets/gpg.nix index fec5b24..c7c7917 100644 --- a/units/nixos/nixosProfiles/presets/secrets/gpg.nix +++ b/units/nixos/nixosProfiles/presets/secrets/gpg.nix @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + _: { ... }: { } diff --git a/units/nixos/nixosProfiles/presets/secrets/ragenix.nix b/units/nixos/nixosProfiles/presets/secrets/ragenix.nix index 653c4a5..50d6c23 100644 --- a/units/nixos/nixosProfiles/presets/secrets/ragenix.nix +++ b/units/nixos/nixosProfiles/presets/secrets/ragenix.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, omnibus }: let inherit diff --git a/units/nixos/nixosProfiles/presets/secrets/sops.nix b/units/nixos/nixosProfiles/presets/secrets/sops.nix index 94ec9bf..666ec9d 100644 --- a/units/nixos/nixosProfiles/presets/secrets/sops.nix +++ b/units/nixos/nixosProfiles/presets/secrets/sops.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, omnibus }: let inherit diff --git a/units/nixos/nixosProfiles/presets/secrets/yubikey.nix b/units/nixos/nixosProfiles/presets/secrets/yubikey.nix index db1b5f3..b35a92c 100644 --- a/units/nixos/nixosProfiles/presets/secrets/yubikey.nix +++ b/units/nixos/nixosProfiles/presets/secrets/yubikey.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, ... }: { services.yubikey-agent.enable = true; diff --git a/units/nixos/nixosProfiles/presets/security/secureboot.nix b/units/nixos/nixosProfiles/presets/security/secureboot.nix index 099ce5c..1117b9d 100644 --- a/units/nixos/nixosProfiles/presets/security/secureboot.nix +++ b/units/nixos/nixosProfiles/presets/security/secureboot.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { config, ... }: { privateKeyFile = "${config.users.users.${user}.home}/${path}"; diff --git a/units/nixos/nixosProfiles/presets/security/tpm2.nix b/units/nixos/nixosProfiles/presets/security/tpm2.nix index 269976e..2b4412e 100644 --- a/units/nixos/nixosProfiles/presets/security/tpm2.nix +++ b/units/nixos/nixosProfiles/presets/security/tpm2.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { security.tpm2 = { enable = true; diff --git a/units/nixos/nixosProfiles/presets/shell/default.nix b/units/nixos/nixosProfiles/presets/shell/default.nix index 975bda1..5b4dbf5 100644 --- a/units/nixos/nixosProfiles/presets/shell/default.nix +++ b/units/nixos/nixosProfiles/presets/shell/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, lib, diff --git a/units/nixos/nixosProfiles/presets/shell/git.nix b/units/nixos/nixosProfiles/presets/shell/git.nix index dcd1c1d..f355a17 100644 --- a/units/nixos/nixosProfiles/presets/shell/git.nix +++ b/units/nixos/nixosProfiles/presets/shell/git.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, inputs }: { programs.git.enable = true; diff --git a/units/nixos/nixosProfiles/presets/virtualisation/docker.nix b/units/nixos/nixosProfiles/presets/virtualisation/docker.nix index cbb17cd..c963cc4 100644 --- a/units/nixos/nixosProfiles/presets/virtualisation/docker.nix +++ b/units/nixos/nixosProfiles/presets/virtualisation/docker.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, config, diff --git a/units/nixos/nixosProfiles/presets/virtualisation/libvirtd.nix b/units/nixos/nixosProfiles/presets/virtualisation/libvirtd.nix index d0b2e80..6a33d5f 100644 --- a/units/nixos/nixosProfiles/presets/virtualisation/libvirtd.nix +++ b/units/nixos/nixosProfiles/presets/virtualisation/libvirtd.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { security.polkit.enable = true; diff --git a/units/nixos/nixosProfiles/presets/virtualisation/podman.nix b/units/nixos/nixosProfiles/presets/virtualisation/podman.nix index 36ec9cb..4168b85 100644 --- a/units/nixos/nixosProfiles/presets/virtualisation/podman.nix +++ b/units/nixos/nixosProfiles/presets/virtualisation/podman.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { pkgs, config, diff --git a/units/nixos/nixosProfiles/presets/virtualisation/qemu-tap.nix b/units/nixos/nixosProfiles/presets/virtualisation/qemu-tap.nix index 2d6c99a..a7658cf 100644 --- a/units/nixos/nixosProfiles/presets/virtualisation/qemu-tap.nix +++ b/units/nixos/nixosProfiles/presets/virtualisation/qemu-tap.nix @@ -1,4 +1,9 @@ -{ } +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + +{ +} # {...}: { # boot = { # kernelParams = ["intel_iommu=on"]; diff --git a/units/nixos/nixosProfiles/presets/virtualisation/test-container-nvidia.nix b/units/nixos/nixosProfiles/presets/virtualisation/test-container-nvidia.nix index 819bd88..79276b3 100644 --- a/units/nixos/nixosProfiles/presets/virtualisation/test-container-nvidia.nix +++ b/units/nixos/nixosProfiles/presets/virtualisation/test-container-nvidia.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + # copyright: https://github.com/cpcloud/nix-config { config, diff --git a/units/std/blockTypes/jupyenv.nix b/units/std/blockTypes/jupyenv.nix index 2847d63..295528a 100644 --- a/units/std/blockTypes/jupyenv.nix +++ b/units/std/blockTypes/jupyenv.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs, root }: /* Use the Runnables Blocktype for targets that you want to make accessible with a 'run' action on the TUI. diff --git a/units/std/mkCommand.nix b/units/std/mkCommand.nix index e1cda5b..f99ebba 100644 --- a/units/std/mkCommand.nix +++ b/units/std/mkCommand.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 The omnibus Authors +# +# SPDX-License-Identifier: MIT + { inputs }: currentSystem: name: description: deps: command: args: let