From d69265c76a97f7b7e1d6c38d43da1c3b2c0d4762 Mon Sep 17 00:00:00 2001 From: Reinout Meliesie Date: Thu, 14 May 2026 12:27:42 +0200 Subject: [PATCH] Rename project to linux-utils, restructure & rewrite readme accordingly --- .../journalctl-last-invocation | 0 .../package.nix | 0 .../nix-store-fuzzy-find | 0 .../package.nix | 0 nixos-module.nix | 4 ++-- readme.md | 19 +++++++++++-------- 6 files changed, 13 insertions(+), 10 deletions(-) rename {packages/journalctl-last-invocation => journalctl-last-invocation}/journalctl-last-invocation (100%) rename {packages/journalctl-last-invocation => journalctl-last-invocation}/package.nix (100%) rename {packages/nix-store-fuzzy-find => nix-store-fuzzy-find}/nix-store-fuzzy-find (100%) rename {packages/nix-store-fuzzy-find => nix-store-fuzzy-find}/package.nix (100%) diff --git a/packages/journalctl-last-invocation/journalctl-last-invocation b/journalctl-last-invocation/journalctl-last-invocation similarity index 100% rename from packages/journalctl-last-invocation/journalctl-last-invocation rename to journalctl-last-invocation/journalctl-last-invocation diff --git a/packages/journalctl-last-invocation/package.nix b/journalctl-last-invocation/package.nix similarity index 100% rename from packages/journalctl-last-invocation/package.nix rename to journalctl-last-invocation/package.nix diff --git a/packages/nix-store-fuzzy-find/nix-store-fuzzy-find b/nix-store-fuzzy-find/nix-store-fuzzy-find similarity index 100% rename from packages/nix-store-fuzzy-find/nix-store-fuzzy-find rename to nix-store-fuzzy-find/nix-store-fuzzy-find diff --git a/packages/nix-store-fuzzy-find/package.nix b/nix-store-fuzzy-find/package.nix similarity index 100% rename from packages/nix-store-fuzzy-find/package.nix rename to nix-store-fuzzy-find/package.nix diff --git a/nixos-module.nix b/nixos-module.nix index 34612a3..8064925 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -8,11 +8,11 @@ with pkgs; ( self: super: { journalctl-last-invocation = callPackage ( - import packages/journalctl-last-invocation/package.nix + import journalctl-last-invocation/package.nix ) {}; nix-store-fuzzy-find = callPackage ( - import packages/nix-store-fuzzy-find/package.nix + import nix-store-fuzzy-find/package.nix ) {}; }) diff --git a/readme.md b/readme.md index 1319c8e..9e13ef1 100644 --- a/readme.md +++ b/readme.md @@ -1,28 +1,31 @@ -# Nix Packages +# Linux Utils ## Description -An assortment of Nix packages not in the official collection. -They can either be used individually or, if you're on NixOS, imported wholesale using the top-level module. +A packaged assortment of helpers for Arch Linux and NixOS. ## Structure +`PKGBUILD` + +- Coming soon. + `nixos-module.nix` - The top-level NixOS module containing all package expressions as an overlay, and all package modules. - Once imported the overlay contents can be found under `pkgs . kernelmaft`. + Once imported the overlay contents can be found under `pkgs`. -`packages//package.nix` +`/package.nix` - A Nix package expression. -`packages//nixos-module.nix` +`/nixos-module.nix` - NixOS module providing additional features for the package in question, such as for example systemd units. Can be imported directly, but is also imported by the top-level module. Not present for all packages. -## Examples +## Usage examples > **Note:** > You should replace the commits here with the latest one, or whichever one you want to use. @@ -43,7 +46,7 @@ Using a specific package expression: ```nix pkgs.callPackage (import (pkgs.fetchurl { - url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/raw/commit/c45884c66f31f8d8d80866bebc13e9e963e02a70/packages/python3.11-django-imagekit/package.nix"; + url = "https://kernelmaft.com/forgejo/zedfrigg/nix-packages/raw/commit/c45884c66f31f8d8d80866bebc13e9e963e02a70/python3.11-django-imagekit/package.nix"; hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; })) {} ```