Compare commits
3 Commits
2ea1f9a11d
...
2a306168d7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a306168d7 | ||
|
|
e28625ea8a | ||
|
|
2c2c044072 |
@@ -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 =
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
27
nix/configuration/roles/claude/default.nix
Normal file
27
nix/configuration/roles/claude/default.nix
Normal 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" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user