👷 Add flake.lock validation pipeline (tgirlcloud/locker)

This commit is contained in:
Jo 2025-07-28 21:29:43 +02:00
parent 795cdb46ba
commit 3e43b52795
2 changed files with 280 additions and 223 deletions

22
.github/workflows/validate-lock.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: "Nix: validate flake.lock"
on:
workflow_dispatch:
push:
paths:
- "**.lock"
jobs:
check-flake:
name: Check Lockfile
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Lix
uses: ./.github/actions/install-lix
- name: Check flake.lock
run: nix run github:tgirlcloud/locker

481
flake.lock generated
View file

@ -1,225 +1,260 @@
{ {
"nodes": { "nodes": {
"catppuccin": { "catppuccin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1753702336, "lastModified": 1753702336,
"narHash": "sha256-IVFUQV6egGQHnm+I183OT+4ct/ka1IWA5u/0A9I/YV4=", "narHash": "sha256-IVFUQV6egGQHnm+I183OT+4ct/ka1IWA5u/0A9I/YV4=",
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"rev": "b32de96c3c5384c83b0f4d741ec58a7f97c9ab11", "rev": "b32de96c3c5384c83b0f4d741ec58a7f97c9ab11",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "catppuccin", "owner": "catppuccin",
"repo": "nix", "repo": "nix",
"type": "github" "type": "github"
} }
}, },
"easy-hosts": { "easy-hosts": {
"locked": { "locked": {
"lastModified": 1752516011, "lastModified": 1752516011,
"narHash": "sha256-YDLW+UdELQndUk2FNe6HixNqkMUPZi+zKuQNEHW6Czo=", "narHash": "sha256-YDLW+UdELQndUk2FNe6HixNqkMUPZi+zKuQNEHW6Czo=",
"owner": "tgirlcloud", "owner": "tgirlcloud",
"repo": "easy-hosts", "repo": "easy-hosts",
"rev": "72dc72f9198fedbf091a1a705c24f0cff4f4b6bb", "rev": "72dc72f9198fedbf091a1a705c24f0cff4f4b6bb",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tgirlcloud", "owner": "tgirlcloud",
"repo": "easy-hosts", "repo": "easy-hosts",
"type": "github" "type": "github"
} }
}, },
"flake-compat": { "flake-compat": {
"locked": { "locked": {
"lastModified": 1733328505, "lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69, "revCount": 69,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?rev=ff81ac966bb2cae68946d5ed5fc4994f96d0ffec&revCount=69" "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?rev=ff81ac966bb2cae68946d5ed5fc4994f96d0ffec&revCount=69"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
} }
}, },
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1753121425, "lastModified": 1753121425,
"narHash": "sha256-TVcTNvOeWWk1DXljFxVRp+E0tzG1LhrVjOGGoMHuXio=", "narHash": "sha256-TVcTNvOeWWk1DXljFxVRp+E0tzG1LhrVjOGGoMHuXio=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "644e0fc48951a860279da645ba77fe4a6e814c5e", "rev": "644e0fc48951a860279da645ba77fe4a6e814c5e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"type": "github" "type": "github"
} }
}, },
"flake-parts_2": { "flake-parts_2": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1749398372, "lastModified": 1749398372,
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"type": "github" "type": "github"
} }
}, },
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1753709185, "lastModified": 1753709185,
"narHash": "sha256-fU0XPSNudRJHvbeMK2qWBXEbfd77t7r+e9V2L9ON5kI=", "narHash": "sha256-fU0XPSNudRJHvbeMK2qWBXEbfd77t7r+e9V2L9ON5kI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "20cf285e9f8e5e3968abca80081c03ea96e7ea73", "rev": "20cf285e9f8e5e3968abca80081c03ea96e7ea73",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"nixcord": { "minegrub-theme": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "nixpkgs": "nixpkgs"
"flake-parts": "flake-parts_2", },
"nixpkgs": "nixpkgs" "locked": {
}, "lastModified": 1752413064,
"locked": { "narHash": "sha256-bcWxBAAvf5hp0TmMbYrwU4SlBxc5sB/T2VsIBdX1gDk=",
"lastModified": 1753581565, "owner": "Lxtharia",
"narHash": "sha256-ci4ue5LefosqA2Cv+yqufb2E7/KIfIRXOS0mXA/3C9E=", "repo": "minegrub-theme",
"owner": "kaylorben", "rev": "040b163268be6e7cf743ba990177525dc47ed944",
"repo": "nixcord", "type": "github"
"rev": "cd1d051aeb24912007cef00329b3f5c394e52042", },
"type": "github" "original": {
}, "owner": "Lxtharia",
"original": { "repo": "minegrub-theme",
"owner": "kaylorben", "type": "github"
"repo": "nixcord", }
"type": "github" },
} "nixcord": {
}, "inputs": {
"nixpkgs": { "flake-compat": "flake-compat",
"locked": { "flake-parts": "flake-parts_2",
"lastModified": 1749494155, "nixpkgs": "nixpkgs_2"
"narHash": "sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc=", },
"owner": "NixOS", "locked": {
"repo": "nixpkgs", "lastModified": 1753581565,
"rev": "88331c17ba434359491e8d5889cce872464052c2", "narHash": "sha256-ci4ue5LefosqA2Cv+yqufb2E7/KIfIRXOS0mXA/3C9E=",
"type": "github" "owner": "kaylorben",
}, "repo": "nixcord",
"original": { "rev": "cd1d051aeb24912007cef00329b3f5c394e52042",
"owner": "NixOS", "type": "github"
"ref": "nixos-25.05", },
"repo": "nixpkgs", "original": {
"type": "github" "owner": "kaylorben",
} "repo": "nixcord",
}, "type": "github"
"nixpkgs-lib": { }
"locked": { },
"lastModified": 1748740939, "nixpkgs": {
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", "locked": {
"owner": "nix-community", "lastModified": 1689850295,
"repo": "nixpkgs.lib", "narHash": "sha256-fUYf6WdQlhd2H+3aR8jST5dhFH1d0eE22aes8fNIfyk=",
"rev": "656a64127e9d791a334452c6b6606d17539476e2", "owner": "NixOS",
"type": "github" "repo": "nixpkgs",
}, "rev": "5df4d78d54f7a34e9ea1f84a22b4fd9baebc68d0",
"original": { "type": "github"
"owner": "nix-community", },
"repo": "nixpkgs.lib", "original": {
"type": "github" "owner": "NixOS",
} "ref": "nixos-unstable",
}, "repo": "nixpkgs",
"nixpkgs_2": { "type": "github"
"locked": { }
"lastModified": 1753549186, },
"narHash": "sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs=", "nixpkgs-lib": {
"owner": "NixOS", "locked": {
"repo": "nixpkgs", "lastModified": 1748740939,
"rev": "17f6bd177404d6d43017595c5264756764444ab8", "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
"type": "github" "owner": "nix-community",
}, "repo": "nixpkgs.lib",
"original": { "rev": "656a64127e9d791a334452c6b6606d17539476e2",
"owner": "NixOS", "type": "github"
"ref": "nixos-unstable", },
"repo": "nixpkgs", "original": {
"type": "github" "owner": "nix-community",
} "repo": "nixpkgs.lib",
}, "type": "github"
"nixpkgs_3": { }
"locked": { },
"lastModified": 1744868846, "nixpkgs_2": {
"narHash": "sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs=", "locked": {
"owner": "NixOS", "lastModified": 1749494155,
"repo": "nixpkgs", "narHash": "sha256-FG4DEYBpROupu758beabUk9lhrblSf5hnv84v1TLqMc=",
"rev": "ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c", "owner": "NixOS",
"type": "github" "repo": "nixpkgs",
}, "rev": "88331c17ba434359491e8d5889cce872464052c2",
"original": { "type": "github"
"owner": "NixOS", },
"ref": "nixpkgs-unstable", "original": {
"repo": "nixpkgs", "owner": "NixOS",
"type": "github" "ref": "nixos-25.05",
} "repo": "nixpkgs",
}, "type": "github"
"root": { }
"inputs": { },
"catppuccin": "catppuccin", "nixpkgs_3": {
"easy-hosts": "easy-hosts", "locked": {
"flake-parts": "flake-parts", "lastModified": 1753549186,
"home-manager": "home-manager", "narHash": "sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs=",
"nixcord": "nixcord", "owner": "NixOS",
"nixpkgs": "nixpkgs_2", "repo": "nixpkgs",
"sops-nix": "sops-nix" "rev": "17f6bd177404d6d43017595c5264756764444ab8",
} "type": "github"
}, },
"sops-nix": { "original": {
"inputs": { "owner": "NixOS",
"nixpkgs": "nixpkgs_3" "ref": "nixos-unstable",
}, "repo": "nixpkgs",
"locked": { "type": "github"
"lastModified": 1752544651, }
"narHash": "sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U=", },
"owner": "Mic92", "nixpkgs_4": {
"repo": "sops-nix", "locked": {
"rev": "2c8def626f54708a9c38a5861866660395bb3461", "lastModified": 1744868846,
"type": "github" "narHash": "sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs=",
}, "owner": "NixOS",
"original": { "repo": "nixpkgs",
"owner": "Mic92", "rev": "ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c",
"repo": "sops-nix", "type": "github"
"type": "github" },
} "original": {
} "owner": "NixOS",
}, "ref": "nixpkgs-unstable",
"root": "root", "repo": "nixpkgs",
"version": 7 "type": "github"
}
},
"root": {
"inputs": {
"catppuccin": "catppuccin",
"easy-hosts": "easy-hosts",
"flake-parts": "flake-parts",
"home-manager": "home-manager",
"minegrub-theme": "minegrub-theme",
"nixcord": "nixcord",
"nixpkgs": "nixpkgs_3",
"sops-nix": "sops-nix"
}
},
"sops-nix": {
"inputs": {
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1752544651,
"narHash": "sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "2c8def626f54708a9c38a5861866660395bb3461",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "sops-nix",
"type": "github"
}
}
},
"root": "root",
"version": 7
} }