mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
nixfmt .
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user