diff options
Diffstat (limited to '')
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/.envrc | 11 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/.gitignore | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/Cargo.lock | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/Cargo.toml | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/flake.lock.license | 9 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/flake.nix | 9 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/package.nix | 9 | ||||
-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 |
10 files changed, 98 insertions, 0 deletions
diff --git a/pkgs/by-name/ya/yambar-modules/.envrc b/pkgs/by-name/ya/yambar-modules/.envrc index 2f9f1a81..294de504 100644 --- a/pkgs/by-name/ya/yambar-modules/.envrc +++ b/pkgs/by-name/ya/yambar-modules/.envrc @@ -1,2 +1,13 @@ #!/usr/bin/env sh + +# 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 flake diff --git a/pkgs/by-name/ya/yambar-modules/.gitignore b/pkgs/by-name/ya/yambar-modules/.gitignore index ea8c4bf7..d888531a 100644 --- a/pkgs/by-name/ya/yambar-modules/.gitignore +++ b/pkgs/by-name/ya/yambar-modules/.gitignore @@ -1 +1,11 @@ +# 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>. + /target diff --git a/pkgs/by-name/ya/yambar-modules/Cargo.lock b/pkgs/by-name/ya/yambar-modules/Cargo.lock index 6b689d29..6c6c7c36 100644 --- a/pkgs/by-name/ya/yambar-modules/Cargo.lock +++ b/pkgs/by-name/ya/yambar-modules/Cargo.lock @@ -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>. + # This file is automatically @generated by Cargo. # It is not intended for manual editing. version = 3 diff --git a/pkgs/by-name/ya/yambar-modules/Cargo.toml b/pkgs/by-name/ya/yambar-modules/Cargo.toml index 8e3995fe..45078170 100644 --- a/pkgs/by-name/ya/yambar-modules/Cargo.toml +++ b/pkgs/by-name/ya/yambar-modules/Cargo.toml @@ -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>. + [package] name = "yambar-modules" version = "0.1.0" diff --git a/pkgs/by-name/ya/yambar-modules/flake.lock.license b/pkgs/by-name/ya/yambar-modules/flake.lock.license new file mode 100644 index 00000000..eae6a84c --- /dev/null +++ b/pkgs/by-name/ya/yambar-modules/flake.lock.license @@ -0,0 +1,9 @@ +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>. diff --git a/pkgs/by-name/ya/yambar-modules/flake.nix b/pkgs/by-name/ya/yambar-modules/flake.nix index e3d0cd49..99ec66a8 100644 --- a/pkgs/by-name/ya/yambar-modules/flake.nix +++ b/pkgs/by-name/ya/yambar-modules/flake.nix @@ -1,3 +1,12 @@ +# 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>. { description = "Extension modules for yambar(1)"; diff --git a/pkgs/by-name/ya/yambar-modules/package.nix b/pkgs/by-name/ya/yambar-modules/package.nix index 79281429..ea25633e 100644 --- a/pkgs/by-name/ya/yambar-modules/package.nix +++ b/pkgs/by-name/ya/yambar-modules/package.nix @@ -1,3 +1,12 @@ +# 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>. {rustPlatform}: rustPlatform.buildRustPackage { pname = "yambar-modules"; 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}; |