droid: Update nix-on-droid config

This commit is contained in:
Alexander Kobjolke 2025-03-03 22:42:07 +01:00
parent fdc39770f8
commit 75c91e50c1
3 changed files with 71 additions and 26 deletions

View file

@ -4,14 +4,14 @@
# Simply install just the packages
environment.packages = with pkgs; [
# User-facing stuff that you really really want to have
vim # or some other editor, e.g. nano or neovim
neovim
git
git-annex
mosh
openssh
wget
helix
tmux
# Some common stuff that people expect to have
#diffutils
@ -29,13 +29,18 @@
#xz
#zip
#unzip
inetutils
];
# Backup etc files instead of failing to activate generation if a file already exists in /etc
environment.etcBackupExtension = ".bak";
environment.sessionVariables = {
EDITOR = "${pkgs.neovim}/bin/nvim";
};
# Read the changelog before changing this value
system.stateVersion = "22.11";
system.stateVersion = "24.05";
# Set up nix for flakes
nix.extraOptions = ''