flake: use empty flake input

easier to read than `""` and `[]`
This commit is contained in:
zowoq 2024-06-01 13:56:59 +10:00
parent 680860d9e1
commit f16d114d27
2 changed files with 29 additions and 6 deletions

28
flake.lock generated
View file

@ -5,7 +5,9 @@
"darwin": [ "darwin": [
"nix-darwin" "nix-darwin"
], ],
"home-manager": [], "home-manager": [
"empty"
],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
@ -91,6 +93,21 @@
"type": "github" "type": "github"
} }
}, },
"empty": {
"locked": {
"lastModified": 1708697125,
"narHash": "sha256-JeMK8G1oabQTSpqXhYaYtPRak4m6z1xxyRKf8CvHy14=",
"owner": "nix-systems",
"repo": "empty",
"rev": "23d743284b73ae69caf0cb7874edf05c0c631a1f",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "empty",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
@ -149,7 +166,9 @@
}, },
"nixpkgs-update": { "nixpkgs-update": {
"inputs": { "inputs": {
"mmdoc": [], "mmdoc": [
"empty"
],
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"runtimeDeps": "runtimeDeps", "runtimeDeps": "runtimeDeps",
"treefmt-nix": [ "treefmt-nix": [
@ -226,6 +245,7 @@
"buildbot-nix": "buildbot-nix", "buildbot-nix": "buildbot-nix",
"comin": "comin", "comin": "comin",
"disko": "disko", "disko": "disko",
"empty": "empty",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
@ -258,7 +278,9 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-stable": [] "nixpkgs-stable": [
"empty"
]
}, },
"locked": { "locked": {
"lastModified": 1716692524, "lastModified": 1716692524,

View file

@ -10,7 +10,7 @@
inputs = { inputs = {
agenix.inputs.darwin.follows = "nix-darwin"; agenix.inputs.darwin.follows = "nix-darwin";
agenix.inputs.home-manager.follows = ""; agenix.inputs.home-manager.follows = "empty";
agenix.inputs.nixpkgs.follows = "nixpkgs"; agenix.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
buildbot-nix.inputs.flake-parts.follows = "flake-parts"; buildbot-nix.inputs.flake-parts.follows = "flake-parts";
@ -21,19 +21,20 @@
comin.url = "github:nlewo/comin"; comin.url = "github:nlewo/comin";
disko.inputs.nixpkgs.follows = "nixpkgs"; disko.inputs.nixpkgs.follows = "nixpkgs";
disko.url = "github:nix-community/disko"; disko.url = "github:nix-community/disko";
empty.url = "github:nix-systems/empty";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
nix-darwin.url = "github:LnL7/nix-darwin"; nix-darwin.url = "github:LnL7/nix-darwin";
nixpkgs-update-github-releases.flake = false; nixpkgs-update-github-releases.flake = false;
nixpkgs-update-github-releases.url = "github:nix-community/nixpkgs-update-github-releases"; nixpkgs-update-github-releases.url = "github:nix-community/nixpkgs-update-github-releases";
nixpkgs-update.inputs.mmdoc.follows = ""; nixpkgs-update.inputs.mmdoc.follows = "empty";
nixpkgs-update.inputs.treefmt-nix.follows = "treefmt-nix"; nixpkgs-update.inputs.treefmt-nix.follows = "treefmt-nix";
nixpkgs-update.url = "github:nix-community/nixpkgs-update"; nixpkgs-update.url = "github:nix-community/nixpkgs-update";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
nur-update.inputs.nixpkgs.follows = "nixpkgs"; nur-update.inputs.nixpkgs.follows = "nixpkgs";
nur-update.url = "github:nix-community/nur-update"; nur-update.url = "github:nix-community/nur-update";
sops-nix.inputs.nixpkgs-stable.follows = ""; sops-nix.inputs.nixpkgs-stable.follows = "empty";
sops-nix.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.inputs.nixpkgs.follows = "nixpkgs";
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
srvos.inputs.nixpkgs.follows = "nixpkgs"; srvos.inputs.nixpkgs.follows = "nixpkgs";