chore: rename nix-on-droid configuration

This commit is contained in:
Swarsel 2024-12-05 03:14:22 +01:00
parent d9e74a5a06
commit 3a95254b88
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 45 additions and 5 deletions

View file

@ -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 #+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; pkgs = pkgsFor.aarch64-linux;
modules = [ 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) **** Magicant (Phone)
#+begin_src nix :tangle profiles/mysticant/default.nix #+begin_src nix :tangle profiles/magicant/default.nix
{ pkgs, ... }: { { pkgs, ... }: {
environment = { environment = {

View file

@ -266,10 +266,10 @@
nixOnDroidConfigurations = { nixOnDroidConfigurations = {
mysticant = inputs.nix-on-droid.lib.nixOnDroidConfiguration { magicant = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
pkgs = pkgsFor.aarch64-linux; pkgs = pkgsFor.aarch64-linux;
modules = [ modules = [
./profiles/mysticant ./profiles/magicant
]; ];
}; };

View file

@ -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
'';
}