Update to nixos-24.05

nixpkgs url and flake lock updates

Remove nixpkgs from registry and nixPath as it's done automatically in
NixOS now

Stop setting nix package to nixVersions.unstable as that's now
deprecated
This commit is contained in:
Evie Litherland-Smith 2024-06-01 07:14:42 +01:00
parent 1ba2796008
commit 010f0f6fc3
3 changed files with 5 additions and 10 deletions

View file

@ -1,13 +1,10 @@
{
config,
lib,
pkgs,
iosevkaCustom,
...
}: {
nix = {
enable = true;
package = pkgs.nixVersions.unstable;
settings = {
cores = 0;
max-jobs = "auto";
@ -16,7 +13,6 @@
auto-optimise-store = true;
};
channel.enable = true;
nixPath = ["nixpkgs=${pkgs.path}"];
gc = {
automatic = true;
options = "--delete-older-than 7d";

View file

@ -138,16 +138,16 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1716361217,
"narHash": "sha256-mzZDr00WUiUXVm1ujBVv6A0qRd8okaITyUp4ezYRgc4=",
"lastModified": 1717144377,
"narHash": "sha256-F/TKWETwB5RaR8owkPPi+SPJh83AQsm6KrQAlJ8v/uA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "46397778ef1f73414b03ed553a3368f0e7e33c2f",
"rev": "805a384895c696f802a9bf5bf4720f37385df547",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.11",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -7,7 +7,7 @@
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
iosevka-custom.url = "git+https://git.xenia.me.uk/pixelifytica/iosevka.git";
niri = {
url = "github:yalter/niri/v0.1.6"; # Follow stable releases
@ -47,7 +47,6 @@
nix = {
settings.trusted-users = [primaryUser];
registry = {
nixpkgs.flake = nixpkgs;
my-nixos = {
from = {
type = "indirect";