removed nixpkgs-stable

This commit is contained in:
willifan 2024-11-02 13:22:43 +01:00
parent 3ef26e3276
commit d8df4f3de1
3 changed files with 5 additions and 30 deletions

17
flake.lock generated
View file

@ -396,22 +396,6 @@
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1728909085,
"narHash": "sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c0b1da36f7c34a7146501f684e9ebdf15d2bebf8",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1725194671,
@ -484,7 +468,6 @@
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"nixvim": "nixvim",
"stylix": "stylix",
"zen": "zen"

View file

@ -4,7 +4,6 @@
inputs = {
# NixOS official package source, using the nixos-23.11 branch here
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
@ -40,11 +39,9 @@
};
outputs = { nixpkgs, nixpkgs-stable, ... }@attrs:
outputs = { nixpkgs, ... }@attrs:
let
lib = nixpkgs.lib;
pkgs = import nixpkgs { system = "x86_64-linux"; config = { allowUnfree = true; }; };
pkgs-stable = import nixpkgs-stable { system = "x86_64-linux"; config = { allowUnfree = true; }; };
in
{
nixosConfigurations = {
@ -57,9 +54,7 @@
specialArgs = {
hostname = "Lenni";
type = "desktop";
inherit pkgs;
inherit pkgs-stable;
inherit attrs;
inherit attrs;
inherit system;
};
@ -87,9 +82,7 @@
specialArgs = {
hostname = "Puenktchen";
type = "desktop";
inherit pkgs;
inherit pkgs-stable;
inherit attrs;
inherit attrs;
inherit system;
};
@ -120,9 +113,7 @@
specialArgs = {
hostname = "Anton";
type = "server";
inherit pkgs;
inherit pkgs-stable;
inherit attrs;
inherit attrs;
inherit system;
};

View file

@ -14,5 +14,6 @@
};
console.keyMap = "de";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11";
}