nix-config/hosts/dadarwin/configuration.nix

32 lines
975 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
2024-10-30 14:30:28 +01:00
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
2024-12-26 21:31:03 +01:00
environment.systemPackages = with pkgs;
2024-10-30 14:30:28 +01:00
[
2024-12-26 21:31:03 +01:00
neovim
kitty
kittysay
terraform
2024-10-30 14:30:28 +01:00
];
programs.direnv.enable = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
# Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes";
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina
# programs.fish.enable = true;
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 5;
# The platform the configuration will be used on.
nixpkgs.hostPlatform = "x86_64-darwin";
}