From 8d9798bd98991d5ef7fbb4aa24bfbac9d3d7ff59 Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 25 Sep 2021 21:49:28 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20epicurus:=20basic=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/epicurus/darwin-configuration.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 hosts/epicurus/darwin-configuration.nix diff --git a/hosts/epicurus/darwin-configuration.nix b/hosts/epicurus/darwin-configuration.nix new file mode 100644 index 0000000..08b57fa --- /dev/null +++ b/hosts/epicurus/darwin-configuration.nix @@ -0,0 +1,24 @@ +{ config, lib, pkgs, ... }: + +{ + # List packages installed in system profile. To search by name, run: + # $ nix-env -qaP | grep wget + environment.systemPackages = [ pkgs.vim ]; + + # 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; + + programs.zsh = { + enable = true; + promptInit = ""; + }; + + # Used for backwards compatibility, please read the changelog before changing. + # $ darwin-rebuild changelog + system.stateVersion = 4; +}