From 929eda44c440362938973e08ca4d908997b16fc9 Mon Sep 17 00:00:00 2001 From: buffet Date: Mon, 3 Jul 2023 11:54:21 +0200 Subject: [PATCH] formatting --- flake.nix | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 5fb41d0..03aa961 100644 --- a/flake.nix +++ b/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];}) + ]; + }; }; }