diff --git a/systems/x86_64-linux/nix-builder/default.nix b/systems/x86_64-linux/nix-builder/default.nix index 964fac4..3a61c3d 100644 --- a/systems/x86_64-linux/nix-builder/default.nix +++ b/systems/x86_64-linux/nix-builder/default.nix @@ -85,6 +85,8 @@ min-free-check-interval = 60 ''; + nixpkgs.config.allowUnfree = true; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ vim htop mc ]; @@ -92,6 +94,11 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; + services.ollama = { + enable = true; + acceleration = "cuda"; + }; + security.pam.enableSSHAgentAuth = true; # enable sudo logins via ssh # Open ports in the firewall.