From 714f92eb81469cab5949dcf675d1d2eb7b13cb44 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 18 Nov 2023 11:23:06 +0800 Subject: [PATCH] flake: simplify --- flake.nix | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/flake.nix b/flake.nix index c34db9a..9ad511a 100755 --- a/flake.nix +++ b/flake.nix @@ -161,29 +161,12 @@ }; }; - outputs = { - self, - nixpkgs, - berberman, - disko, - home-manager, - hosts, - hyprland, - lanzaboote, - nix-darwin, - sops-nix, - spicetify-nix, - impermanence, - tokyonight, - metacubexd, - nixpak, - ... - } @ inputs: { - formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra; + outputs = {...} @ inputs: { + formatter.x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.alejandra; ### NixOS nixosConfigurations = { - "Aristotle" = nixpkgs.lib.nixosSystem { + "Aristotle" = inputs.nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = {inherit inputs;}; modules = [ @@ -211,7 +194,7 @@ ### Darwin darwinConfigurations = { - "Plato" = nix-darwin.lib.darwinSystem { + "Plato" = inputs.nix-darwin.lib.darwinSystem { system = "x86_64-darwin"; specialArgs = {inherit inputs;}; modules = [