34 lines
982 B
Nix
34 lines
982 B
Nix
{ pkgs, self, ... }: {
|
|
# List packages installed in system profile. To search by name, run:
|
|
# $ nix-env -qaP | grep wget
|
|
environment.systemPackages =
|
|
[
|
|
pkgs.vim
|
|
];
|
|
|
|
# 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";
|
|
|
|
# Enable alternative shell support in nix-darwin.
|
|
# programs.fish.enable = true;
|
|
|
|
# Set Git commit hash for darwin-version.
|
|
system.configurationRevision = self.rev or self.dirtyRev or null;
|
|
|
|
# Used for backwards compatibility, please read the changelog before changing.
|
|
# $ darwin-rebuild changelog
|
|
system.stateVersion = 5;
|
|
|
|
home-manager = {
|
|
users = { "zynh" = import ./home.nix; };
|
|
backupFileExtension = "backup";
|
|
useGlobalPkgs = true;
|
|
};
|
|
|
|
# The platform the configuration will be used on.
|
|
# nixpkgs.hostPlatform = "x86_64-darwin";
|
|
}
|