From 37603af9d8f7a3f7751b17eeab5301c5049ee71f Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Mon, 10 Apr 2023 21:40:24 +0000 Subject: [PATCH 1/5] added nixos mobile ( depends on add-xrdesktop ) --- .gitmodules | 3 +++ dependencies/mobile-nixos | 1 + 2 files changed, 4 insertions(+) create mode 160000 dependencies/mobile-nixos diff --git a/.gitmodules b/.gitmodules index 875c8d0..506dc5b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "dependencies/gulkan"] path = dependencies/gulkan url = https://gitlab.freedesktop.org/xrdesktop/gulkan.git +[submodule "dependencies/mobile-nixos"] + path = dependencies/mobile-nixos + url = https://github.com/NixOS/mobile-nixos diff --git a/dependencies/mobile-nixos b/dependencies/mobile-nixos new file mode 160000 index 0000000..4aa0afd --- /dev/null +++ b/dependencies/mobile-nixos @@ -0,0 +1 @@ +Subproject commit 4aa0afd84005b79be4d5361b56a60df9e9bd4ea3 From 83763d8a393b08260088b41c728e4453fdc8de4d Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Mon, 10 Apr 2023 23:53:24 +0000 Subject: [PATCH 2/5] added local.nix --- local.nix | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 local.nix diff --git a/local.nix b/local.nix new file mode 100644 index 0000000..d30706e --- /dev/null +++ b/local.nix @@ -0,0 +1,6 @@ +# link this into the dependencies/nix-mobile directory : +# ln -rs local.nix dependencies/mobile-nixos/local.nix +{ ... }: +{ + imports = [ ../../ ] +} From 53e7f4d422a75ed2ef734b50051bcc13cba06f2b Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Thu, 13 Apr 2023 06:49:48 +0000 Subject: [PATCH 3/5] fix syntax error --- local.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local.nix b/local.nix index d30706e..85abd9c 100644 --- a/local.nix +++ b/local.nix @@ -2,5 +2,5 @@ # ln -rs local.nix dependencies/mobile-nixos/local.nix { ... }: { - imports = [ ../../ ] + imports = [ ../../ ]; } From 479adc79143418d46e346e67113ced5284ea015e Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Thu, 13 Apr 2023 03:02:35 -0400 Subject: [PATCH 4/5] adding null hostname --- hosts/null/default.nix | 2 ++ local.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 hosts/null/default.nix diff --git a/hosts/null/default.nix b/hosts/null/default.nix new file mode 100644 index 0000000..206ce51 --- /dev/null +++ b/hosts/null/default.nix @@ -0,0 +1,2 @@ +# an non-existant host for testing purposes +{}:{} diff --git a/local.nix b/local.nix index d30706e..85abd9c 100644 --- a/local.nix +++ b/local.nix @@ -2,5 +2,5 @@ # ln -rs local.nix dependencies/mobile-nixos/local.nix { ... }: { - imports = [ ../../ ] + imports = [ ../../ ]; } From b5a81fcfbe28e2dbac9796cd2a1a1f8bbaed1be0 Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Thu, 13 Apr 2023 03:16:53 -0400 Subject: [PATCH 5/5] fixed build errors --- hosts/null/default.nix | 2 +- local.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/null/default.nix b/hosts/null/default.nix index 206ce51..42a6aa5 100644 --- a/hosts/null/default.nix +++ b/hosts/null/default.nix @@ -1,2 +1,2 @@ # an non-existant host for testing purposes -{}:{} +{...}:{} diff --git a/local.nix b/local.nix index 85abd9c..82eee96 100644 --- a/local.nix +++ b/local.nix @@ -2,5 +2,5 @@ # ln -rs local.nix dependencies/mobile-nixos/local.nix { ... }: { - imports = [ ../../ ]; + imports = [ ./default.nix ]; }