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