Update depreciated values for NixOS 24.05

This commit is contained in:
♥ Minnie ♥ 2024-06-03 21:17:51 +08:00
parent 7b5f9a5182
commit f55f8e6da8
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
4 changed files with 22 additions and 17 deletions

View file

@ -3,9 +3,11 @@
{
imports = [
../common/global
../common/users/sajenim
../common/users/sajenim/samba
../common/users/sajenim/steam
../common/optional/key.nix
./services
@ -65,27 +67,27 @@
# Setup our display server.
xserver = {
enable = true;
layout = "au";
xkb.layout = "au";
videoDrivers = [ "amdgpu" ];
libinput = {
enable = true;
mouse = {
accelProfile = "flat";
};
};
displayManager.startx.enable = true;
};
# Get up and running with large language models locally.
ollama = {
libinput = {
enable = true;
package = pkgs.unstable.ollama;
acceleration = "rocm";
# environmentVariables = {
# HSA_OVERRIDE_GFX_VERSION = "10.3.0";
# };
mouse = { accelProfile = "flat"; };
};
# Get up and running with large language models locally.
# ollama = {
# enable = true;
# package = pkgs.unstable.ollama;
# acceleration = "rocm";
# # environmentVariables = {
# # HSA_OVERRIDE_GFX_VERSION = "10.3.0";
# # };
# };
# Enable a few other services.
ratbagd.enable = true;
pcscd.enable = true;