summaryrefslogtreecommitdiff
path: root/nix-on-droid.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-02-12 07:38:29 -0800
committerPreston Pan <ret2pop@gmail.com>2025-02-12 07:38:29 -0800
commit264cd9efcc972459b41fee80562e08f0a8308d9d (patch)
tree370c22907d6046f7f3256d53c0e4a9f070356adb /nix-on-droid.nix
first commit
Diffstat (limited to 'nix-on-droid.nix')
-rw-r--r--nix-on-droid.nix45
1 files changed, 45 insertions, 0 deletions
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";
+}