3 Commits

Author SHA1 Message Date
Tom Alexander
2a306168d7 Install claude code into the robot VM. 2026-11-23 12:40:37 -05:00
Tom Alexander
e28625ea8a Install python in the robot vm. 2026-11-23 12:40:37 -05:00
Tom Alexander
2c2c044072 Fix building packages on my builder VM. 2026-11-23 12:40:37 -05:00
3 changed files with 39 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ in
./roles/build_in_ram ./roles/build_in_ram
./roles/chromecast ./roles/chromecast
./roles/chromium ./roles/chromium
./roles/claude
./roles/d2 ./roles/d2
./roles/direnv ./roles/direnv
./roles/disko ./roles/disko
@@ -289,6 +290,15 @@ in
(disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package (disableOptimizations "nototools") # Needs to use the same version of python as the zopfli package
(disableOptimizations "lib2geom") # Tests failing: ellipse-test, elliptical-arc-test, line-test, polynomial-test (disableOptimizations "lib2geom") # Tests failing: ellipse-test, elliptical-arc-test, line-test, polynomial-test
(disableOptimizations "libjpeg_turbo") # Test failing: djpeg12-shared-3x2-float-prog-cmp (disableOptimizations "libjpeg_turbo") # Test failing: djpeg12-shared-3x2-float-prog-cmp
(disableOptimizations "libjxl") # Test failing, but only on my builder VM. I assume related to AVX512: DjxlFuzzerTestInstantiation
(disableOptimizationsScope "kdePackages" "qtbase") # Issue with my bhyve VM: Incompatible processor. This Qt build requires the following features: avx512ifma avx512vbmi avx512vbmi2 gfni avx512bitalg avx512vpopcntdq
(disableOptimizationsScope "libsForQt5" "qtbase") # Issue with my bhyve VM: Incompatible processor. This Qt build requires the following features: avx512ifma avx512vbmi avx512vbmi2 gfni avx512bitalg avx512vpopcntdq
(disableOptimizationsScope "qt6Packages" "qtbase") # Issue with my bhyve VM: Incompatible processor. This Qt build requires the following features: avx512ifma avx512vbmi avx512vbmi2 gfni avx512bitalg avx512vpopcntdq
(disableOptimizations "qt5") # Issue with my bhyve VM: Incompatible processor. This Qt build requires the following features: avx512ifma avx512vbmi avx512vbmi2 gfni avx512bitalg avx512vpopcntdq
(disableOptimizations "qt6") # Issue with my bhyve VM: Incompatible processor. This Qt build requires the following features: avx512ifma avx512vbmi avx512vbmi2 gfni avx512bitalg avx512vpopcntdq
(disableTests "sequoia-sq") # Test failing on my builder vm: sq_key_generate_dev_null
(disableOptimizations "tzdata") # Tests failing on my builder vm
(disableOptimizations "simdutf") # Tests failing on my builder vm
]; ];
hardware.firmware = hardware.firmware =

View File

@@ -74,8 +74,10 @@
# nix.sshServe.enable = true; # nix.sshServe.enable = true;
# nix.sshServe.keys = [ "ssh-dss AAAAB3NzaC1k... bob@example.org" ]; # nix.sshServe.keys = [ "ssh-dss AAAAB3NzaC1k... bob@example.org" ];
me.claude.enable = true;
me.dont_use_substituters.enable = true; me.dont_use_substituters.enable = true;
me.minimal_base.enable = true; me.minimal_base.enable = true;
me.pi_coding_agent.enable = true; me.pi_coding_agent.enable = true;
me.python.enable = true;
}; };
} }

View File

@@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
claude.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install claude.";
};
};
config = lib.mkIf config.me.claude.enable {
environment.systemPackages = with pkgs; [
claude-code
];
allowedUnfree = [ "claude-code" ];
};
}