switch to unstable

This commit is contained in:
Gerg-L 2024-08-02 23:11:41 -04:00
parent ac289cdfb1
commit 727793c1a2
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 6 additions and 8 deletions

View file

@ -1,11 +1,11 @@
inputs@{
stable,
unstable,
self,
disko,
...
}:
let
inherit (stable) lib;
inherit (unstable) 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 = "${stable}/nixos/modules";
specialArgs.modulesPath = "${unstable}/nixos/modules";
modules = builtins.concatLists [
(builtins.attrValues self.nixosModules)
(map addSchizophreniaToModule (listNixFilesRecursive "${self}/hosts/${hostName}"))
(import "${stable}/nixos/modules/module-list.nix")
(import "${unstable}/nixos/modules/module-list.nix")
(lib.singleton {
networking = {
inherit hostName;