2024-07-29 00:35:14 +02:00
|
|
|
{ inputs, lib, pkgs, config, ... }:
|
2022-11-22 22:36:10 +01:00
|
|
|
|
|
|
|
{
|
2023-02-12 23:33:57 +01:00
|
|
|
environment.systemPackages = with pkgs; [ ];
|
2022-11-22 22:36:10 +01:00
|
|
|
|
|
|
|
# environment.darwinConfig = builtins.toString ./configuration.nix;
|
|
|
|
|
|
|
|
# Auto upgrade nix package and the daemon service.
|
|
|
|
services.nix-daemon.enable = true;
|
|
|
|
|
|
|
|
nix.package = pkgs.nix;
|
|
|
|
|
|
|
|
# Create /etc/zshrc that loads the nix-darwin environment.
|
2023-02-12 23:33:57 +01:00
|
|
|
programs.zsh.enable = true; # default shell on catalina
|
2022-11-22 22:36:10 +01:00
|
|
|
|
2022-11-25 13:51:29 +01:00
|
|
|
# Fonts
|
|
|
|
fonts.fontDir.enable = true;
|
|
|
|
fonts.fonts = with pkgs; [
|
|
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
|
|
];
|
|
|
|
|
|
|
|
# Keyboard
|
|
|
|
system.keyboard.enableKeyMapping = true;
|
|
|
|
system.keyboard.remapCapsLockToEscape = true;
|
|
|
|
|
|
|
|
# Add ability to used TouchID for sudo authentication
|
|
|
|
security.pam.enableSudoTouchIdAuth = true;
|
|
|
|
|
2022-11-22 22:36:10 +01:00
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
|
|
# > darwin-rebuild changelog
|
|
|
|
system.stateVersion = 4;
|
|
|
|
}
|