mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
chore: rename nix-on-droid configuration
This commit is contained in:
parent
d9e74a5a06
commit
3a95254b88
3 changed files with 45 additions and 5 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
40
profiles/magicant/default.nix
Normal file
40
profiles/magicant/default.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue