add nix-on-droid configuration

This commit is contained in:
Swarsel 2023-12-15 16:54:17 +01:00
parent b04f4d6c1f
commit 2d49ddaeb2
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
environment.packages = with pkgs; [
vim
git
man
gnupg
];
# 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.05";
# Set up nix for flakes
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
}