summaryrefslogtreecommitdiff
path: root/nix-on-droid.nix
blob: f5100dae7d7badac75a11a3717ab0f8855e1af88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ 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
    rsync
    # 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";
}