mirror of
https://github.com/oqyude/nixos.git
synced 2026-08-08 23:53:11 +03:00
49 lines
940 B
Nix
49 lines
940 B
Nix
{ 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
|
|
|
|
# Some common stuff that people expect to have
|
|
openssh
|
|
treefmt
|
|
git
|
|
procps
|
|
killall
|
|
diffutils
|
|
findutils
|
|
utillinux
|
|
tzdata
|
|
hostname
|
|
man
|
|
gnugrep
|
|
gnupg
|
|
gnused
|
|
gnutar
|
|
bzip2
|
|
gzip
|
|
#xz
|
|
zip
|
|
unzip
|
|
nano
|
|
];
|
|
|
|
# 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 = "Europe/Moscow";
|
|
|
|
android-integration.termux-setup-storage.enable = true;
|
|
}
|