feat: Get ROCm working with flake

This commit is contained in:
matthew.binning 2026-02-10 06:10:33 -08:00
parent 5284d6e596
commit c20fd46f9f
6 changed files with 73 additions and 25 deletions

View file

@ -2,7 +2,8 @@
let
hostConfigs = {
crossbox = [ ./crossbox.nix ./sdr.nix ./syncthing.nix ./forgejo.nix ./radicale.nix ./ollama.nix ./docuseal.nix ./nginx.nix ];
crossbox = [ ./crossbox.nix ./sdr.nix ./syncthing.nix ./forgejo.nix ./radicale.nix ./ollama.nix #./docuseal.nix
./nginx.nix ];
anvil = [ ./anvil.nix ./sdr.nix ./vpn.nix ./syncthing.nix ./staging.nginx.nix ];
};
in
@ -10,7 +11,7 @@ in
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
] ++ hostConfigs.anvil;
] ++ hostConfigs.crossbox;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.gc = {
@ -208,4 +209,4 @@ in
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
}
}