initial commit
This commit is contained in:
26
darwin/default.nix
Normal file
26
darwin/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
homebrew = import ./homebrew.nix;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
gnutls
|
||||
ripgrep
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
# Necessary for using flakes on this system.
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 4;
|
||||
|
||||
# The platform the configuration will be used on.
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
}
|
19
darwin/homebrew.nix
Normal file
19
darwin/homebrew.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
onActivation.cleanup = "uninstall";
|
||||
|
||||
taps = [
|
||||
# nothing here, yet
|
||||
];
|
||||
|
||||
casks = [
|
||||
# nothing here, yet
|
||||
];
|
||||
|
||||
brews = [
|
||||
# nothing here, yet
|
||||
];
|
||||
|
||||
masApps = {
|
||||
"Reeder 5." = 1529448980;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user