diff --git a/SwarselSystems.org b/SwarselSystems.org index 29b4fcf..c98448b 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -659,10 +659,10 @@ Nix on Android also demands an own flake output, which is provided here. #+begin_src nix :tangle no :noweb-ref flakedroidconf - mysticant = inputs.nix-on-droid.lib.nixOnDroidConfiguration { + magicant = inputs.nix-on-droid.lib.nixOnDroidConfiguration { pkgs = pkgsFor.aarch64-linux; modules = [ - ./profiles/mysticant + ./profiles/magicant ]; }; @@ -1187,7 +1187,7 @@ My work machine. Built for more security, this is the gold standard of my config **** Magicant (Phone) -#+begin_src nix :tangle profiles/mysticant/default.nix +#+begin_src nix :tangle profiles/magicant/default.nix { pkgs, ... }: { environment = { diff --git a/flake.nix b/flake.nix index b54a791..cdb9c7b 100644 --- a/flake.nix +++ b/flake.nix @@ -266,10 +266,10 @@ nixOnDroidConfigurations = { - mysticant = inputs.nix-on-droid.lib.nixOnDroidConfiguration { + magicant = inputs.nix-on-droid.lib.nixOnDroidConfiguration { pkgs = pkgsFor.aarch64-linux; modules = [ - ./profiles/mysticant + ./profiles/magicant ]; }; diff --git a/profiles/magicant/default.nix b/profiles/magicant/default.nix new file mode 100644 index 0000000..8743b81 --- /dev/null +++ b/profiles/magicant/default.nix @@ -0,0 +1,40 @@ +{ pkgs, ... }: { + environment = { + packages = with pkgs; [ + vim + git + openssh + # toybox + dig + man + gnupg + ]; + + etcBackupExtension = ".bak"; + extraOutputsToInstall = [ + "doc" + "info" + "devdoc" + ]; + motd = null; + }; + + + android-integration = { + termux-open.enable = true; + xdg-open.enable = true; + termux-open-url.enable = true; + termux-reload-settings.enable = true; + termux-setup-storage.enable = true; + }; + + # Backup etc files instead of failing to activate generation if a file already exists in /etc + + # Read the changelog before changing this value + system.stateVersion = "23.05"; + + # Set up nix for flakes + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; +}