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 ];