chore(ci): flake inputs tidying

This commit is contained in:
arcnmx 2024-04-06 11:54:40 -07:00
parent 510be2a5bb
commit dfee70c195
4 changed files with 21 additions and 49 deletions

55
flake.lock generated
View file

@ -153,6 +153,21 @@
"type": "github" "type": "github"
} }
}, },
"nix-std": {
"locked": {
"lastModified": 1710870712,
"narHash": "sha256-e+7MJF2gsgTBuOWv4mCimSP0D9+naeFSw9a7N3yEmv4=",
"owner": "chessai",
"repo": "nix-std",
"rev": "31bbc925750cc9d8f828fe55cee1a2bd985e0c00",
"type": "github"
},
"original": {
"owner": "chessai",
"repo": "nix-std",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1711703276, "lastModified": 1711703276,
@ -185,22 +200,6 @@
"type": "github" "type": "github"
} }
}, },
"nur": {
"locked": {
"lastModified": 1712097892,
"narHash": "sha256-YEROpZs8saHffMKmSisTwhYdF/G3VMHgka4MAhz7Q9A=",
"owner": "nix-community",
"repo": "nur",
"rev": "2b655318c106193f6ffa11f6f7b778dc74688a3b",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "nur",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"arcexprs": "arcexprs", "arcexprs": "arcexprs",
@ -211,9 +210,7 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"flakelib": "flakelib", "flakelib": "flakelib",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"std": "std",
"std-fl": "std-fl", "std-fl": "std-fl",
"systemd2mqtt": "systemd2mqtt", "systemd2mqtt": "systemd2mqtt",
"tree": "tree", "tree": "tree",
@ -262,26 +259,9 @@
"type": "github" "type": "github"
} }
}, },
"std": {
"locked": {
"lastModified": 1710870712,
"narHash": "sha256-e+7MJF2gsgTBuOWv4mCimSP0D9+naeFSw9a7N3yEmv4=",
"owner": "chessai",
"repo": "nix-std",
"rev": "31bbc925750cc9d8f828fe55cee1a2bd985e0c00",
"type": "github"
},
"original": {
"owner": "chessai",
"repo": "nix-std",
"type": "github"
}
},
"std-fl": { "std-fl": {
"inputs": { "inputs": {
"nix-std": [ "nix-std": "nix-std"
"std"
]
}, },
"locked": { "locked": {
"lastModified": 1706552916, "lastModified": 1706552916,
@ -342,7 +322,8 @@
"nixpkgs" "nixpkgs"
], ],
"std": [ "std": [
"std" "std-fl",
"nix-std"
] ]
}, },
"locked": { "locked": {

View file

@ -1,14 +1,11 @@
{ {
description = "kat's nixfiles"; description = "gensokyo.zone";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
arcexprs = { arcexprs = {
url = "github:arcnmx/nixexprs/master"; url = "github:arcnmx/nixexprs/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
std = {
url = "github:chessai/nix-std";
};
ci = { ci = {
url = "github:arcnmx/ci/v0.7"; url = "github:arcnmx/ci/v0.7";
flake = false; flake = false;
@ -17,7 +14,6 @@
url = "github:edolstra/flake-compat"; url = "github:edolstra/flake-compat";
flake = false; flake = false;
}; };
nur.url = "github:nix-community/nur/master";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
flakelib = { flakelib = {
url = "github:flakelib/fl"; url = "github:flakelib/fl";
@ -25,7 +21,6 @@
}; };
std-fl = { std-fl = {
url = "github:flakelib/std"; url = "github:flakelib/std";
inputs.nix-std.follows = "std";
}; };
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
@ -33,7 +28,7 @@
}; };
tree = { tree = {
url = "github:kittywitch/tree"; url = "github:kittywitch/tree";
inputs.std.follows = "std"; inputs.std.follows = "std-fl/nix-std";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
deploy-rs = { deploy-rs = {

View file

@ -17,15 +17,11 @@ in {
nix = { nix = {
nixPath = [ nixPath = [
"nixpkgs=${inputs.nixpkgs}" "nixpkgs=${inputs.nixpkgs}"
"nur=${inputs.nur}"
"arc=${inputs.arcexprs}" "arc=${inputs.arcexprs}"
"ci=${inputs.ci}"
]; ];
registry = { registry = {
nixpkgs.flake = inputs.nixpkgs; nixpkgs.flake = inputs.nixpkgs;
nur.flake = inputs.nur;
arc.flake = inputs.arcexprs; arc.flake = inputs.arcexprs;
ci.flake = inputs.ci;
}; };
settings = { settings = {
experimental-features = lib.optional (lib.versionAtLeast config.nix.package.version "2.4") "nix-command flakes"; experimental-features = lib.optional (lib.versionAtLeast config.nix.package.version "2.4") "nix-command flakes";

View file

@ -4,7 +4,7 @@
}: let }: let
lib = inputs.self.lib.nixlib; lib = inputs.self.lib.nixlib;
inherit (lib.strings) makeBinPath; inherit (lib.strings) makeBinPath;
inherit (inputs.std.lib) string list set; inherit (inputs.self.lib.std) string list set;
packages = inputs.self.packages.${system}; packages = inputs.self.packages.${system};
inherit (inputs.self.legacyPackages.${system}) pkgs; inherit (inputs.self.legacyPackages.${system}) pkgs;
fmt = import ../ci/fmt.nix; fmt = import ../ci/fmt.nix;