Added nix-on-droid.nix
This commit is contained in:
@@ -216,7 +216,7 @@
|
|||||||
nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration {
|
nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration {
|
||||||
pkgs = import nixpkgs {system = "aarch64-linux";};
|
pkgs = import nixpkgs {system = "aarch64-linux";};
|
||||||
modules = [
|
modules = [
|
||||||
./modules/system.nix
|
./modules/nix-on-droid.nix
|
||||||
./home
|
./home
|
||||||
./home/shell
|
./home/shell
|
||||||
];
|
];
|
||||||
|
|||||||
40
modules/nix-on-droid.nix
Normal file
40
modules/nix-on-droid.nix
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{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
|
||||||
|
#procps
|
||||||
|
#killall
|
||||||
|
#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 = "24.05";
|
||||||
|
|
||||||
|
# Set up nix for flakes
|
||||||
|
nix.extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Set your time zone
|
||||||
|
#time.timeZone = "Europe/Berlin";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user