didnt even find out
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user