mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
24 lines
669 B
Nix
24 lines
669 B
Nix
# hosts/YourHostName/default.nix
|
|
{ pkgs, ... }:
|
|
{
|
|
# Make sure the nix daemon always runs
|
|
services.nix-daemon.enable = true;
|
|
# Installs a version of nix, that dosen't need "experimental-features = nix-command flakes" in /etc/nix/nix.conf
|
|
# services.nix-daemon.package = pkgs.nixFlakes;
|
|
|
|
# if you use zsh (the default on new macOS installations),
|
|
# you'll need to enable this so nix-darwin creates a zshrc sourcing needed environment changes
|
|
programs.zsh.enable = true;
|
|
# bash is enabled by default
|
|
|
|
homebrew = {
|
|
enable = true;
|
|
onActivation = {
|
|
autoUpdate = true;
|
|
upgrade = true;
|
|
};
|
|
casks = [
|
|
"discord"
|
|
];
|
|
};
|
|
}
|