Flake: better dependency management

This commit is contained in:
Filippo Berto 2025-06-14 15:25:40 +02:00
parent d07bfc5ca9
commit 735af95b32
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 28 additions and 44 deletions

39
flake.lock generated
View file

@ -286,7 +286,7 @@
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs-s"
] ]
}, },
"locked": { "locked": {
@ -498,6 +498,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-s": {
"locked": {
"lastModified": 1749906907,
"narHash": "sha256-3utRKKFaoVhanwUqzb2fCnTcskq2uwSCDD/zLgnSa/E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "200b75e8120c5bbe749f600f4e24d405a9bc8633",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-u": { "nixpkgs-u": {
"locked": { "locked": {
"lastModified": 1748693115, "lastModified": 1748693115,
@ -545,22 +561,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": {
"locked": {
"lastModified": 1748954775,
"narHash": "sha256-9yZojiHsS+Bi9OivZglSIXryy6iCJZfM8UMn59tiKc8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "667858166b89c072208ac151fa9502513d7d8389",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"ragenix": { "ragenix": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -596,7 +596,10 @@
"nix-rice": "nix-rice", "nix-rice": "nix-rice",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": [
"nixpkgs-u"
],
"nixpkgs-s": "nixpkgs-s",
"nixpkgs-u": "nixpkgs-u", "nixpkgs-u": "nixpkgs-u",
"ragenix": "ragenix", "ragenix": "ragenix",
"systems": "systems_5" "systems": "systems_5"

View file

@ -3,35 +3,16 @@
inputs = { inputs = {
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"; flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
nixpkgs-s.url = "github:NixOS/nixpkgs/release-25.05";
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
nixpkgs-u.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-u.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = { nixpkgs.follows = "nixpkgs-u";
url = "github:nix-community/home-manager/release-24.11"; home-manager = { url = "github:nix-community/home-manager/release-24.11"; inputs.nixpkgs.follows = "nixpkgs-s"; };
inputs.nixpkgs.follows = "nixpkgs"; home-manager-u = { url = "github:nix-community/home-manager"; inputs = { nixpkgs.follows = "nixpkgs-u"; }; };
};
home-manager-u = {
url = "github:nix-community/home-manager";
inputs = { nixpkgs.follows = "nixpkgs-u"; };
};
# agenix.url = "github:ryantm/agenix"; # agenix.url = "github:ryantm/agenix";
ragenix = { ragenix = { url = "github:yaxitech/ragenix"; inputs.nixpkgs.follows = "nixpkgs"; };
url = "github:yaxitech/ragenix"; deploy-rs = { url = "github:serokell/deploy-rs"; inputs.nixpkgs.follows = "nixpkgs"; };
inputs.nixpkgs.follows = "nixpkgs";
};
deploy-rs = {
url = "github:serokell/deploy-rs";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
nix-rice.url = "github:bertof/nix-rice/modules"; nix-rice.url = "github:bertof/nix-rice/modules";
nixos-generators = { nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; };
url = "github:nix-community/nixos-generators";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
nixos-hardware.url = "github:NixOS/nixos-hardware"; nixos-hardware.url = "github:NixOS/nixos-hardware";
systems.url = "github:nix-systems/default"; systems.url = "github:nix-systems/default";