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: {
|
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];})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue