From 7fd4ef0e3b53260aad955c00bb27f2de1341a36c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 17 Jan 2025 15:37:20 +0100 Subject: chore(treewide): Add license headers --- .reuse/templates/default.jinja2 | 12 ++++++++++++ by-name-overlay.nix | 10 ++++++++++ default.nix | 10 ++++++++++ flake.nix | 10 ++++++++++ 4 files changed, 42 insertions(+) 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 +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 . +#} + 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 +# 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 . + {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 +# 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 . + {}: 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 +# 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 . + { inputs = {}; -- cgit 1.4.1