From 12b2c459362ad43e4e426501bd2d33a96a743a6b Mon Sep 17 00:00:00 2001 From: Ethan Reece Date: Thu, 17 Jul 2025 13:21:41 -0500 Subject: [PATCH] Add licensing for home-manager configuration --- .envrc | 4 ++++ .gitignore | 4 ++++ .sops.yaml | 4 ++++ LICENSES/MIT.txt | 18 ++++++++++++++++++ README.md | 6 ++++++ flake.lock | 20 ++++++++++---------- flake.lock.license | 3 +++ flake.nix | 4 ++++ home-manager/default.nix | 4 ++++ home-manager/home.nix | 4 ++++ home-manager/vencord.nix | 4 ++++ sops/default.nix | 4 ++++ sops/secrets.example.yaml | 5 +++++ sops/secrets.yaml | 4 ++++ sops/secrets.yaml.example | 1 - 15 files changed, 78 insertions(+), 11 deletions(-) create mode 100644 LICENSES/MIT.txt create mode 100644 flake.lock.license create mode 100644 sops/secrets.example.yaml delete mode 100644 sops/secrets.yaml.example diff --git a/.envrc b/.envrc index bf15b27..4faa09c 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + watch_dir ./sops watch_file ./home-manager/default.nix use flake diff --git a/.gitignore b/.gitignore index 619c9ff..212281c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + .direnv .helix .pre-commit-config.yaml diff --git a/.sops.yaml b/.sops.yaml index 30db388..463dde1 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + keys: - &laptop age1thulhunl9qf552rnlvhrdjrfy3udhfy43389them5her09ycrwcsqdjd25q - &vpn age1emavxf6jydt0f8nt7y5xyagthhh0hcc3f0kthtt2yx0am7df3vdqw7uwk6 diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..d817195 --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) + +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/README.md b/README.md index 8b75ab2..92c9007 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # 💻 Laptop configuration This repository has the Nix home-manager configuration for my laptop, diff --git a/flake.lock b/flake.lock index ca14cc3..2a1d12e 100644 --- a/flake.lock +++ b/flake.lock @@ -157,11 +157,11 @@ ] }, "locked": { - "lastModified": 1752558218, - "narHash": "sha256-X429IFYAQYZGQFboq1Pz4qtU2XcD/avTHnJ+WEgiT7I=", + "lastModified": 1752566655, + "narHash": "sha256-w1Shlyy4dlAwtOb8NJ9XMs2FUD030WLgHWxOBQsh8bk=", "ref": "main", - "rev": "cb93b994031e290e44dabc7663d1f014bbf52c84", - "revCount": 4, + "rev": "193dbe8d030aa6784eae9acb211c4cfda404ed65", + "revCount": 11, "type": "git", "url": "https://git.sudoer777.dev/me/nix-flake-base.git" }, @@ -484,11 +484,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1752077645, - "narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=", + "lastModified": 1752446735, + "narHash": "sha256-Nz2vtUEaRB/UjvPfuhHpez060P/4mvGpXW4JCDIboA4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "be9e214982e20b8310878ac2baa063a961c1bdf6", + "rev": "a421ac6595024edcfbb1ef950a3712b89161c359", "type": "github" }, "original": { @@ -536,11 +536,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1752555807, - "narHash": "sha256-uPf6vXeHq/npoRt6gkcoajX6KtfBO1ATmQ0LbxJBc3o=", + "lastModified": 1752565432, + "narHash": "sha256-F19/GfIJ34mJRoE2rQ/saS4281RMrLiS6O45gJcuhgE=", "owner": "nix-community", "repo": "NUR", - "rev": "5dfd4f5779c92e6031346e444b61ae6023239092", + "rev": "d5221bc958f3a8e5ab5edb33a4745da90c709049", "type": "github" }, "original": { diff --git a/flake.lock.license b/flake.lock.license new file mode 100644 index 0000000..f0ef2a4 --- /dev/null +++ b/flake.lock.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2025 Ethan Reece + +SPDX-License-Identifier: MIT diff --git a/flake.nix b/flake.nix index ef2709e..d35141d 100644 --- a/flake.nix +++ b/flake.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + { description = "Home Manager configuration"; inputs = { diff --git a/home-manager/default.nix b/home-manager/default.nix index 34cf340..15068ad 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + { inputs, withSystem, ... }: { imports = [ inputs.home-manager.flakeModules.home-manager ]; diff --git a/home-manager/home.nix b/home-manager/home.nix index 19594fd..a07e77c 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + { config, inputs, diff --git a/home-manager/vencord.nix b/home-manager/vencord.nix index 1b191ea..cba8405 100644 --- a/home-manager/vencord.nix +++ b/home-manager/vencord.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + { lib, ... }: { settings = lib.mkForce { diff --git a/sops/default.nix b/sops/default.nix index 067c88f..7a650b5 100644 --- a/sops/default.nix +++ b/sops/default.nix @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + { ... }: { perSystem = diff --git a/sops/secrets.example.yaml b/sops/secrets.example.yaml new file mode 100644 index 0000000..852e2bd --- /dev/null +++ b/sops/secrets.example.yaml @@ -0,0 +1,5 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + +openrouter_api_key: d4d... diff --git a/sops/secrets.yaml b/sops/secrets.yaml index 44b3dae..438a387 100644 --- a/sops/secrets.yaml +++ b/sops/secrets.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 Ethan Reece +# +# SPDX-License-Identifier: MIT + openrouter_api_key: ENC[AES256_GCM,data:V/JK4bZb6ps22fseIz01AuXqHG+jGy1un3GzJNR5JL2y7WynHdVp9xsK01D4HoYApxYhbKG87VM2/40MSdfu46Rd7e6BwGCaiw==,iv:BMHPFzpu99911v3tBNvuZSzRiXpi+hJ+o/aGL3O/xPc=,tag:iXNV+chWGbUKUaghv6Rytw==,type:str] sops: age: diff --git a/sops/secrets.yaml.example b/sops/secrets.yaml.example deleted file mode 100644 index 8285da3..0000000 --- a/sops/secrets.yaml.example +++ /dev/null @@ -1 +0,0 @@ -openrouter_api_key: d4d...