diff options
Diffstat (limited to 'pkgs/by-name/lo/lock')
| -rwxr-xr-x | pkgs/by-name/lo/lock/lock.sh | 10 | ||||
| -rw-r--r-- | pkgs/by-name/lo/lock/package.nix | 16 | ||||
| -rw-r--r-- | pkgs/by-name/lo/lock/package.unstable.nix | 25 |
3 files changed, 35 insertions, 16 deletions
diff --git a/pkgs/by-name/lo/lock/lock.sh b/pkgs/by-name/lo/lock/lock.sh index 4c5e1c01..1c068e57 100755 --- a/pkgs/by-name/lo/lock/lock.sh +++ b/pkgs/by-name/lo/lock/lock.sh @@ -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>. + # shellcheck shell=bash context="$(task _get rc.context)" diff --git a/pkgs/by-name/lo/lock/package.nix b/pkgs/by-name/lo/lock/package.nix deleted file mode 100644 index 1c857cd6..00000000 --- a/pkgs/by-name/lo/lock/package.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - writeShellApplication, - taskwarrior, - swaylock, -}: -writeShellApplication { - name = "lock"; - text = builtins.readFile ./lock.sh; - runtimeInputs = [ - taskwarrior - swaylock - ]; - meta = { - mainProgram = "lock"; - }; -} diff --git a/pkgs/by-name/lo/lock/package.unstable.nix b/pkgs/by-name/lo/lock/package.unstable.nix new file mode 100644 index 00000000..572ebb0b --- /dev/null +++ b/pkgs/by-name/lo/lock/package.unstable.nix @@ -0,0 +1,25 @@ +# 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>. +{ + writeShellApplication, + taskwarrior3, + swaylock, +}: +writeShellApplication { + name = "lock"; + text = builtins.readFile ./lock.sh; + runtimeInputs = [ + taskwarrior3 + swaylock + ]; + meta = { + mainProgram = "lock"; + }; +} |
