From 264cd9efcc972459b41fee80562e08f0a8308d9d Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 12 Feb 2025 07:38:29 -0800 Subject: first commit --- nix-on-droid.nix | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 nix-on-droid.nix (limited to 'nix-on-droid.nix') diff --git a/nix-on-droid.nix b/nix-on-droid.nix new file mode 100644 index 0000000..bb6d6df --- /dev/null +++ b/nix-on-droid.nix @@ -0,0 +1,45 @@ +{ config, lib, pkgs, ... }: + +{ + # 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 + tmux + # Some common stuff that people expect to have + #procps + killall + #diffutils + #findutils + #utillinux + #tzdata + cmatrix + nmap + hostname + man + gnugrep + gnupg + gnused + gnutar + git + bzip2 + gzip + xz + zip + unzip + ]; + + # Backup etc files instead of failing to activate generation if a file already exists in /etc + environment.etcBackupExtension = ".bak"; + + # Read the changelog before changing this value + system.stateVersion = "24.05"; + + # Set up nix for flakes + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; + + # Set your time zone + time.timeZone = "America/Vancouver"; +} -- cgit v1.2.3