flake: Include nix-config in phone config args

Fixes infinite recursion issues from self.
This commit is contained in:
Donovan Glover 2024-06-18 23:58:29 -04:00
parent 7c2a322c35
commit 11e2304a7f
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -56,7 +56,7 @@
mobile-nixos = nixosSystem {
system = "aarch64-linux";
specialArgs = attrs;
specialArgs = attrs // { nix-config = self; };
modules = phoneModules ++ [
(import "${mobile-nixos}/lib/configuration.nix" {
@ -74,7 +74,7 @@
mobile-nixos-vm = nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
specialArgs = attrs // { nix-config = self; };
modules = phoneModules ++ [
{
boot.loader.systemd-boot.enable = true;