-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathargus.nix
More file actions
39 lines (39 loc) · 1.2 KB
/
Copy pathargus.nix
File metadata and controls
39 lines (39 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ outputs, ... }:
let
inherit (outputs) lib;
in
lib.mkDarwinHost {
user = "george";
work = true;
# The default 6 GiB Rosetta Linux builder VM is too small for some of
# the heavier x86_64-linux Rust builds we run from argus. The setting
# is gated on the builder being enabled so CI evals (which skip the
# builder) don't trip over an undeclared option.
rosettaBuilderMemory = "16GiB";
brewAppsModule = "${lib.modulesPath}/darwin/george/brew-apps.nix";
extraHomeModules = [
"${lib.modulesPath}/home/darwin-closure-priority.nix"
"${lib.modulesPath}/darwin/george/town-dock-apps.nix"
(
{ pkgs, ... }:
{
# Install a few large host-specific tools on argus without opting this
# host into the full
# heavyOptional package set.
nixcfg.packageSets.extraPackages = [
pkgs.goose-cli
pkgs.gws
];
}
)
];
extraSystemModules = [
{
# Preserve any pre-existing app/editor settings the first time Home Manager
# takes over files like ~/.gemini/settings.json and VS Code Insiders
# settings.json.
home-manager.backupFileExtension = "backup";
}
(lib.mkSetOpencodeEnvModule "work.json")
];
}