Initual Commit
This commit is contained in:
parent
07f1069ce6
commit
5e33cfeabf
6 changed files with 497 additions and 0 deletions
57
nix-on-droid.nix
Normal file
57
nix-on-droid.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ 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
|
||||
git
|
||||
openssh
|
||||
curl
|
||||
#dig3
|
||||
bash-completion
|
||||
nix-bash-completions
|
||||
complete-alias
|
||||
watch
|
||||
which
|
||||
gawk
|
||||
|
||||
# Some common stuff that people expect to have
|
||||
#diffutils
|
||||
findutils
|
||||
utillinux
|
||||
#tzdata
|
||||
#hostname
|
||||
#man
|
||||
gnugrep
|
||||
#gnupg
|
||||
#gnused
|
||||
#gnutar
|
||||
#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 = "23.11";
|
||||
|
||||
# Set up nix for flakes
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
# Configure home-manager
|
||||
home-manager = {
|
||||
config = ./home.nix;
|
||||
backupFileExtension = "hm-bak";
|
||||
useGlobalPkgs = true;
|
||||
};
|
||||
|
||||
# Set your time zone
|
||||
time.timeZone = "America/New_York";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue