add nixpkgs.nix

This commit is contained in:
do butterflies cry? 2026-02-13 19:29:45 +10:00
parent 42f80cd9f2
commit 02251bd750
3 changed files with 57 additions and 39 deletions

66
flake.lock generated
View file

@ -17,17 +17,14 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770950478, "lastModified": 1770974095,
"narHash": "sha256-y83gbdVEQheIYUvD8rzQcidLN0tcGCGq5b2TWQRjr4c=", "narHash": "sha256-7plCbyNGVinY0Ti+MIR8tU+BJDe1qvyXCKq1TDk9tc8=",
"owner": "cry128", "path": "/home/me/cry/mk/Cerulean",
"repo": "Cerulean", "type": "path"
"rev": "5397bf5efcb1a047612a6e919bc2aad87ba9bb40",
"type": "github"
}, },
"original": { "original": {
"owner": "cry128", "path": "/home/me/cry/mk/Cerulean",
"repo": "Cerulean", "type": "path"
"type": "github"
} }
}, },
"deploy-rs": { "deploy-rs": {
@ -63,11 +60,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770316708, "lastModified": 1770947070,
"narHash": "sha256-i9oEi2PUIZfp+73ZvQE/Ze0aCEV3y3+vvaJ/ZmAe3bw=", "narHash": "sha256-g/l/iUET/M+nSrXlwYF2e0KeKqgGpjy3qhwQY4tG62A=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "955746af205e2a94a8e0798a911941da9c5af779", "rev": "4fc28bfb4f95071d34184c7ba3153eaff87eba41",
"revCount": 117, "revCount": 121,
"type": "git", "type": "git",
"url": "https://forge.dobutterfliescry.net/cry/site" "url": "https://forge.dobutterfliescry.net/cry/site"
}, },
@ -111,11 +108,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1768135262, "lastModified": 1769996383,
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", "rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -258,11 +255,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1770365342, "lastModified": 1770943752,
"narHash": "sha256-jV5tAs67HSBWz/ePEp1eyoUK3Lqfc1fEAvt2wC6reFc=", "narHash": "sha256-3vWAy2BCP5liaCEKmeqeVWbTCF/JnukgMOg8qf8mCcg=",
"owner": "FlameFlag", "owner": "FlameFlag",
"repo": "nixcord", "repo": "nixcord",
"rev": "51db830336715209a4a213aa985f4d405ff0be69", "rev": "aa1626057e57eca3686fbc1c3e2ddfde884c6b2a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -289,11 +286,11 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1761114652, "lastModified": 1769909678,
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=", "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
"owner": "NixOS", "owner": "nix-community",
"repo": "nixpkgs", "repo": "nixpkgs.lib",
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c", "rev": "72716169fe93074c333e8d0173151350670b824c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -304,11 +301,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1770197578, "lastModified": 1770841267,
"narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", "narHash": "sha256-9xejG0KoqsoKEGp2kVbXRlEYtFFcDTHjidiuX8hGO44=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", "rev": "ec7c70d12ce2fc37cb92aff673dcdca89d187bae",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -357,17 +354,14 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1770950436, "lastModified": 1770954326,
"narHash": "sha256-+h5jrsIJBea5P+rAk4OqUpScqnHYQTvCRUhgGv/MX34=", "narHash": "sha256-PZ+78r+iFZ90l6fdwC73SSyNyCqaiZIAFeDg0qBHY+8=",
"owner": "cry128", "path": "/home/me/cry/mk/nt",
"repo": "nt", "type": "path"
"rev": "8725f5079f8f27b3faafeff90e5fc075d55e7d0a",
"type": "github"
}, },
"original": { "original": {
"owner": "cry128", "path": "/home/me/cry/mk/nt",
"repo": "nt", "type": "path"
"type": "github"
} }
}, },
"root": { "root": {

View file

@ -1,12 +1,9 @@
{ {
inputs,
pkgs, pkgs,
lib, lib,
... ...
}: { }: {
imports = [ imports = [
inputs.dobutterfliescry-net.overlays.default
./modules/flatpak.nix ./modules/flatpak.nix
]; ];

27
nixpkgs.nix Normal file
View file

@ -0,0 +1,27 @@
{
root,
inputs,
...
}: {
nixpkgs.channels.default = {
# nixpkgs (stable branch)
pkgs = {
source = inputs.nixpkgs;
overlays =
[inputs.dobutterfliescry-net.overlays.default]
++ import (root + "/overlays");
config = {
allowUnfree = false;
allowBroken = false;
};
};
# nixpkgs-unstable
upkgs = {
source = inputs.nixpkgs-unstable;
config = {
allowUnfree = false;
allowBroken = false;
};
};
};
}