1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 08:47:00 +00:00
nix-darwin/modules/examples/simple.nix

26 lines
817 B
Nix
Raw Normal View History

2018-01-13 14:56:49 +01:00
{ config, pkgs, ... }:
2016-12-11 13:58:57 +01:00
2018-01-13 14:56:49 +01:00
{
2016-12-11 13:58:57 +01:00
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[ pkgs.vim
2016-12-11 13:58:57 +01:00
];
# Use a custom configuration.nix location.
# $ darwin-rebuild switch -I darwin-config=$HOME/.config/nixpkgs/darwin/configuration.nix
# environment.darwinConfig = "$HOME/.config/nixpkgs/darwin/configuration.nix";
# Auto upgrade nix package and the daemon service.
# services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
2022-08-25 09:43:42 -04:00
# Create /etc/zshrc that loads the nix-darwin environment.
2020-06-17 18:45:02 +02:00
programs.zsh.enable = true; # default shell on catalina
2018-01-14 19:31:48 +01:00
# programs.fish.enable = true;
2017-10-01 16:18:37 +02:00
# Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog
system.stateVersion = 5;
2016-12-11 13:58:57 +01:00
}