diff --git a/nixos/configuration.nix b/nixos/configuration.nix index fdcaec6..7cf0eb3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -76,4 +76,5 @@ powerOnBoot = false; }; services.blueman.enable = true; + services.ollama.enable = true; } diff --git a/nixos/modules/bundle.nix b/nixos/modules/bundle.nix index b569cf7..5c88ccf 100644 --- a/nixos/modules/bundle.nix +++ b/nixos/modules/bundle.nix @@ -11,5 +11,6 @@ ./git.nix ./thunderbird.nix ./lidswitch.nix + ./gpu.nix ]; } diff --git a/nixos/modules/gpu.nix b/nixos/modules/gpu.nix new file mode 100644 index 0000000..a5c6304 --- /dev/null +++ b/nixos/modules/gpu.nix @@ -0,0 +1,7 @@ +{ ... }: { + hardware.graphics = { + enable = true; + enable32Bit = true; + }; + nixpkgs.config.rocmSupport = true; +}