didnt even find out

This commit is contained in:
2025-10-09 16:51:00 -05:00
parent f8ba2be4e2
commit c88c55382a
2 changed files with 8 additions and 7 deletions

View File

@@ -27,9 +27,6 @@
}; };
stable_pkgs = builtins.mapAttrs (k: v: import nixpkgs { system = v; }) systems; stable_pkgs = builtins.mapAttrs (k: v: import nixpkgs { system = v; }) systems;
unstable_pkgs = builtins.mapAttrs (k: v: import nixpkgs-unstable { system = v; }) systems; unstable_pkgs = builtins.mapAttrs (k: v: import nixpkgs-unstable { system = v; }) systems;
#pkgs = nixpkgs.legacyPackages.${system};
#unstable = nixpkgs-unstable.legacyPackages.${system};
in in
{ {
nixosConfigurations = { nixosConfigurations = {
@@ -43,13 +40,13 @@
]; ];
}; };
vaniville = nixpkgs.lib.nixosSystem { vaniville = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; system = systems.x86_64;
specialArgs = { inherit inputs stable_pkgs unstable_pkgs; };
modules = [ modules = [
./hosts/vaniville/configuration.nix ./hosts/vaniville/configuration.nix
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
]; ];
}; };
};
};
}; };
} }

View File

@@ -1,5 +1,9 @@
{ config, lib, pkgs, ... }: { config, lib, stable_pkgs, unstable_pkgs, ... }:
let
pkgs = stable_pkgs.x86_64;
unstable = unstable_pkgs.x86_64;
in
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.