From 6a31427b441aa4297b55c35da52fc4358b0217d1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 11 Oct 2024 13:47:59 -0400 Subject: [PATCH] chore: simplify formatting --- flake.nix | 17 ++++------------- hosts/phone/configuration.nix | 4 +++- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/flake.nix b/flake.nix index 8cecf496..5e949b93 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,7 @@ stylix = { url = "github:donovanglover/stylix"; + inputs = { nixpkgs.follows = "nixpkgs"; home-manager.follows = "home-manager"; @@ -27,11 +28,7 @@ }; outputs = - { - self, - nixpkgs, - ... - }: + { self, nixpkgs, ... }: let inherit (nixpkgs.lib) nixosSystem; inherit (nixpkgs.lib.filesystem) packagesFromDirectoryRecursive listFilesRecursive; @@ -91,10 +88,7 @@ nixosConfigurations = { nixos = nixosSystem { system = "x86_64-linux"; - - specialArgs = { - nix-config = self; - }; + specialArgs.nix-config = self; modules = [ ./hosts/laptop/configuration.nix @@ -104,10 +98,7 @@ mobile-nixos = nixosSystem { system = "aarch64-linux"; - - specialArgs = { - nix-config = self; - }; + specialArgs.nix-config = self; modules = [ ./hosts/phone/configuration.nix diff --git a/hosts/phone/configuration.nix b/hosts/phone/configuration.nix index bea6b57a..be3d307b 100644 --- a/hosts/phone/configuration.nix +++ b/hosts/phone/configuration.nix @@ -4,7 +4,9 @@ let inherit (builtins) attrValues; in { - imports = attrValues nix-config.nixosModules ++ attrValues nix-config.inputs.mobile-nixos.nixosModules; + imports = + attrValues nix-config.nixosModules + ++ attrValues nix-config.inputs.mobile-nixos.nixosModules; nixpkgs = { overlays = with nix-config.overlays; [ phinger-cursors ];