diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-27 16:18:51 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-27 16:25:12 +0200 |
commit | 83cc776bcdfae930d49f3c321ebf787e9ed7b111 (patch) | |
tree | 84fd785d6c4e78557934ec8e25a702176d2ff022 /pkgs/by-name/ya/yambar-modules/src | |
parent | modules/steam: Correctly allow the unfree dependency (diff) | |
download | nixos-config-83cc776bcdfae930d49f3c321ebf787e9ed7b111.zip |
treewide: Add nice GPL-3.0-or-later license header
This change also ensures that this repo is reuse-3.0 compliant.
Diffstat (limited to 'pkgs/by-name/ya/yambar-modules/src')
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/src/cpu.rs | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/src/main.rs | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/src/memory.rs | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/ya/yambar-modules/src/cpu.rs b/pkgs/by-name/ya/yambar-modules/src/cpu.rs index 5a6dd084..f53107a8 100644 --- a/pkgs/by-name/ya/yambar-modules/src/cpu.rs +++ b/pkgs/by-name/ya/yambar-modules/src/cpu.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// 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>. + use std::{thread, time::Duration}; use sysinfo::{CpuExt, System, SystemExt}; diff --git a/pkgs/by-name/ya/yambar-modules/src/main.rs b/pkgs/by-name/ya/yambar-modules/src/main.rs index 315c3be7..03bafadf 100644 --- a/pkgs/by-name/ya/yambar-modules/src/main.rs +++ b/pkgs/by-name/ya/yambar-modules/src/main.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// 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>. + use std::{env::args, process}; mod cpu; diff --git a/pkgs/by-name/ya/yambar-modules/src/memory.rs b/pkgs/by-name/ya/yambar-modules/src/memory.rs index 6da714cc..7c2c4669 100644 --- a/pkgs/by-name/ya/yambar-modules/src/memory.rs +++ b/pkgs/by-name/ya/yambar-modules/src/memory.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// 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>. + use std::{thread, time::Duration}; use sysinfo::{System, SystemExt}; |