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 {
|
mobile-nixos = nixosSystem {
|
||||||
system = "aarch64-linux";
|
system = "aarch64-linux";
|
||||||
specialArgs = attrs;
|
specialArgs = attrs // { nix-config = self; };
|
||||||
|
|
||||||
modules = phoneModules ++ [
|
modules = phoneModules ++ [
|
||||||
(import "${mobile-nixos}/lib/configuration.nix" {
|
(import "${mobile-nixos}/lib/configuration.nix" {
|
||||||
@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
mobile-nixos-vm = nixosSystem {
|
mobile-nixos-vm = nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = attrs;
|
specialArgs = attrs // { nix-config = self; };
|
||||||
modules = phoneModules ++ [
|
modules = phoneModules ++ [
|
||||||
{
|
{
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user