refactor
This commit is contained in:
26
flake.nix
26
flake.nix
@ -6,28 +6,24 @@
|
|||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
home-manager,
|
home-manager,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
specials = {
|
||||||
|
inherit inputs;
|
||||||
|
pkgs-unstable = import nixpkgs-unstable {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
wildfire = nixpkgs.lib.nixosSystem {
|
wildfire = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = specials;
|
||||||
inherit inputs;
|
|
||||||
pkgs-unstable = import nixpkgs-unstable {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/wildfire/configuration.nix
|
./hosts/wildfire/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
hurricane = nixpkgs.lib.nixosSystem {
|
hurricane = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = specials;
|
||||||
inherit inputs;
|
|
||||||
pkgs-unstable = import nixpkgs-unstable {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/hurricane/configuration.nix
|
./hosts/hurricane/configuration.nix
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user