formatting
This commit is contained in:
parent
35dd05d72a
commit
929eda44c4
1 changed files with 14 additions and 11 deletions
25
flake.nix
25
flake.nix
|
@ -67,22 +67,25 @@
|
|||
};
|
||||
};
|
||||
|
||||
outputs = {nixpkgs, nixpkgs-unstable, ...} @ args: {
|
||||
nixosConfigurations.fanya =
|
||||
let
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
...
|
||||
} @ args: {
|
||||
nixosConfigurations.fanya = let
|
||||
system = "x86_64-linux";
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = nixpkgs-unstable.legacyPackages.${prev.system};
|
||||
};
|
||||
in
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = args;
|
||||
modules = [
|
||||
./fanya.nix
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = args;
|
||||
modules = [
|
||||
./fanya.nix
|
||||
|
||||
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
|
||||
];
|
||||
};
|
||||
(_: {nixpkgs.overlays = [(import ./overlay args) overlay-unstable];})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue