···11+{ self, host, pkgs, ... }: {
22+ # List packages installed in system profile. To search by name, run:
33+ # $ nix-env -qaP | grep wget
44+ environment.systemPackages = [];
55+66+ # Auto upgrade nix package and the daemon service.
77+ services.nix-daemon.enable = true;
88+ nix.package = pkgs.lix;
99+1010+ # Necessary for using flakes on this system.
1111+ nix.settings.experimental-features = "nix-command flakes";
1212+1313+ /* TODO: use home-manager for this stuff instead
1414+ programs = {
1515+ fish.enable = true;
1616+ man.enable = true;
1717+ };
1818+ #*/
1919+2020+ security.pam.enableSudoTouchIdAuth = true;
2121+2222+ # Set Git commit hash for darwin-version.
2323+ system.configurationRevision = self.rev or self.dirtyRev or null;
2424+2525+ # Used for backwards compatibility, please read the changelog before changing.
2626+ # $ darwin-rebuild changelog
2727+ system.stateVersion = 4;
2828+2929+ # The platform the configuration will be used on.
3030+ # TODO: base this off hostname or something
3131+ nixpkgs.hostPlatform = "aarch64-darwin";
3232+}