summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-17 15:37:20 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-17 15:37:20 +0100
commit7fd4ef0e3b53260aad955c00bb27f2de1341a36c (patch)
treef4dbcfdd1d0b5e2e13cac9d3f421c598f090207f
parentchore(.reuse/templates/default): Add (diff)
downloadnix-library-7fd4ef0e3b53260aad955c00bb27f2de1341a36c.zip
chore(treewide): Add license headers
-rw-r--r--.reuse/templates/default.jinja212
-rw-r--r--by-name-overlay.nix10
-rw-r--r--default.nix10
-rw-r--r--flake.nix10
4 files changed, 42 insertions, 0 deletions
diff --git a/.reuse/templates/default.jinja2 b/.reuse/templates/default.jinja2
index 744f101..a22b225 100644
--- a/.reuse/templates/default.jinja2
+++ b/.reuse/templates/default.jinja2
@@ -1,3 +1,15 @@
+{#
+nixLib - A library of nix functions for vhack.eu
+
+Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+SPDX-License-Identifier: AGPL-3.0-or-later
+
+This file is part of vhack.eu's nix library.
+
+You should have received a copy of the License along with this program.
+If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+#}
+
 nixLib - A library of nix functions for vhack.eu
 
 {% for copyright_line in copyright_lines %}
diff --git a/by-name-overlay.nix b/by-name-overlay.nix
index 80aebf4..eb35b5f 100644
--- a/by-name-overlay.nix
+++ b/by-name-overlay.nix
@@ -1,3 +1,13 @@
+# nixLib - A library of nix functions for vhack.eu
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+# This file is part of vhack.eu's nix library.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 {warn}:
 # Adapted from this: https://github.com/NixOS/nixpkgs/blob/1814b56453c91192f6d5a6276079948f9fe96c18/pkgs/top-level/by-name-overlay.nix
 # This file should not depend on `pkgs` and thus not use `lib`.
diff --git a/default.nix b/default.nix
index cb9f6ef..c16e9f0 100644
--- a/default.nix
+++ b/default.nix
@@ -1,3 +1,13 @@
+# nixLib - A library of nix functions for vhack.eu
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+# This file is part of vhack.eu's nix library.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 {}: let
   # string -> string -> string
   colorize = color: string: "[${color}m${string}";
diff --git a/flake.nix b/flake.nix
index e6f5f4f..81cde50 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,3 +1,13 @@
+# nixLib - A library of nix functions for vhack.eu
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+# This file is part of vhack.eu's nix library.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
 {
   inputs = {};