This commit is contained in:
Dave Gallant
2024-10-15 10:14:16 -04:00
parent a3ded17c26
commit 978c7aa795
3 changed files with 72 additions and 28 deletions

View File

@@ -1,6 +1,8 @@
{ pkgs, ... }:
let checkBrew = "command -v brew > /dev/null";
in {
let
checkBrew = "command -v brew > /dev/null";
in
{
nixpkgs = {
config = {
allowUnfree = true;
@@ -8,7 +10,9 @@ in {
};
};
networking = { hostName = "zelus"; };
networking = {
hostName = "zelus";
};
services.nix-daemon.enable = true;
@@ -28,7 +32,9 @@ in {
extraInit = ''
${checkBrew} || >&2 echo "brew is not installed (install it via https://brew.sh)"
'';
variables = { LANG = "en_US.UTF-8"; };
variables = {
LANG = "en_US.UTF-8";
};
};
system.defaults = {
@@ -69,7 +75,9 @@ in {
enable = true;
onActivation.autoUpdate = false;
onActivation.upgrade = false;
global = { brewfile = true; };
global = {
brewfile = true;
};
brews = [
"azure-cli"