mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 01:14:01 +01:00
flake: Include nix-config in phone config args
Fixes infinite recursion issues from self.
This commit is contained in:
parent
7c2a322c35
commit
11e2304a7f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user