mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
remove unstable follows
This commit is contained in:
parent
550831f4d9
commit
44de66e57d
3 changed files with 25 additions and 12 deletions
20
flake.lock
generated
20
flake.lock
generated
|
|
@ -898,9 +898,7 @@
|
|||
"spicetify-nix": "spicetify-nix",
|
||||
"stable": "stable",
|
||||
"suckless": "suckless",
|
||||
"unstable": [
|
||||
"stable"
|
||||
]
|
||||
"unstable": "unstable"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
|
@ -1054,6 +1052,22 @@
|
|||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1720768451,
|
||||
"narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
|||
|
|
@ -8,11 +8,10 @@
|
|||
ref = "master";
|
||||
};
|
||||
unstable = {
|
||||
follows = "stable";
|
||||
#type = "github";
|
||||
#owner = "NixOS";
|
||||
#repo = "nixpkgs";
|
||||
#ref = "nixos-unstable";
|
||||
type = "github";
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs";
|
||||
ref = "nixos-unstable";
|
||||
};
|
||||
stable = {
|
||||
type = "github";
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
inputs@{
|
||||
unstable,
|
||||
stable,
|
||||
self,
|
||||
disko,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (unstable) lib;
|
||||
inherit (stable) lib;
|
||||
in
|
||||
# Only good use case for rec
|
||||
rec {
|
||||
|
|
@ -173,12 +173,12 @@ rec {
|
|||
hostName:
|
||||
# Whats lib.nixosSystem? never heard of her
|
||||
lib.evalModules {
|
||||
specialArgs.modulesPath = "${unstable}/nixos/modules";
|
||||
specialArgs.modulesPath = "${stable}/nixos/modules";
|
||||
|
||||
modules = builtins.concatLists [
|
||||
(builtins.attrValues self.nixosModules)
|
||||
(map addSchizophreniaToModule (listNixFilesRecursive "${self}/hosts/${hostName}"))
|
||||
(import "${unstable}/nixos/modules/module-list.nix")
|
||||
(import "${stable}/nixos/modules/module-list.nix")
|
||||
(lib.singleton {
|
||||
networking = {
|
||||
inherit hostName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue