formatting

This commit is contained in:
buffet 2023-07-03 11:54:21 +02:00
parent 35dd05d72a
commit 929eda44c4

View file

@ -67,22 +67,25 @@
}; };
}; };
outputs = {nixpkgs, nixpkgs-unstable, ...} @ args: { outputs = {
nixosConfigurations.fanya = nixpkgs,
let nixpkgs-unstable,
...
} @ args: {
nixosConfigurations.fanya = let
system = "x86_64-linux"; system = "x86_64-linux";
overlay-unstable = final: prev: { overlay-unstable = final: prev: {
unstable = nixpkgs-unstable.legacyPackages.${prev.system}; unstable = nixpkgs-unstable.legacyPackages.${prev.system};
}; };
in in
nixpkgs.lib.nixosSystem { nixpkgs.lib.nixosSystem {
inherit system; inherit system;
specialArgs = args; specialArgs = args;
modules = [ modules = [
./fanya.nix ./fanya.nix
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];}) (_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
]; ];
}; };
}; };
} }