mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
flake.nix: reduce nixpkgs instances
This commit is contained in:
parent
805cb0208a
commit
3a781eff32
40
flake.lock
generated
40
flake.lock
generated
@ -437,7 +437,9 @@
|
||||
},
|
||||
"home-manager-stable": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704099619,
|
||||
@ -456,7 +458,9 @@
|
||||
},
|
||||
"home-manager-unstable": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704809957,
|
||||
@ -686,22 +690,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1701718080,
|
||||
"narHash": "sha256-6ovz0pG76dE0P170pmmZex1wWcQoeiomUZGggfH9XPs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2c7f3c0fb7c08a0814627611d9d7d45ab6d75335",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"dir": "lib",
|
||||
@ -783,22 +771,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1703961334,
|
||||
"narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixvim": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_4",
|
||||
|
@ -9,6 +9,11 @@
|
||||
commit-lockfile-summary = "flake.lock: update inputs";
|
||||
};
|
||||
|
||||
# Just take note we still set common flake inputs to our own version even if
|
||||
# we just use the modules and its overlays just so we don't download more of
|
||||
# them. Each flake update is like 100MB worth just from the multiple nixpkgs
|
||||
# branches at the following section, that's edging on the "too-much" scale
|
||||
# for my fragile internet bandwidth.
|
||||
inputs = {
|
||||
# I know NixOS can be stable but we're going cutting edge, baybee! While
|
||||
# `nixpkgs-unstable` branch could be faster delivering updates, it is
|
||||
@ -28,8 +33,12 @@
|
||||
|
||||
# Managing home configurations.
|
||||
home-manager.follows = "home-manager-unstable";
|
||||
|
||||
home-manager-stable.url = "github:nix-community/home-manager/release-23.11";
|
||||
home-manager-stable.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
home-manager-unstable.url = "github:nix-community/home-manager";
|
||||
home-manager-unstable.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# Make a Neovim distro.
|
||||
nixvim.url = "github:nix-community/nixvim";
|
||||
|
Loading…
Reference in New Issue
Block a user