Add unified nix configuration

This commit is contained in:
Martin Pander
2026-02-07 13:54:58 +01:00
parent 0f2baf4651
commit a81bae3a85
54 changed files with 260 additions and 3401 deletions

View File

@@ -0,0 +1,19 @@
{ config, pkgs, self, ... }:
{
# Minimal system configuration
environment.systemPackages = [ pkgs.vim ];
services.nix-daemon.enable = true;
nix.settings.experimental-features = "nix-command flakes";
programs.zsh.enable = true;
# Set Git commit hash for darwin-version.
system.configurationRevision = self.rev or self.dirtyRev or null;
system.stateVersion = 4;
nixpkgs.hostPlatform = "aarch64-darwin";
}