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

@ -9,11 +9,13 @@
enable = true;
# Enable extra features
enableAutosuggestions = true;
enableCompletion = true;
autosuggestion = {
enable = true;
};
syntaxHighlighting = {
enable = true;
};
enableCompletion = true;
dotDir = ".config/zsh";
# Commands that should be added to to top of '.zshrc'

View file

@ -14,7 +14,7 @@
programs.gnupg.agent = {
enable = true;
# Fix: invalid time when using keytocard
pinentryFlavor = "gtk2";
pinentryPackage = pkgs.pinentry-curses;
};
# Use our yubikey as a user login or for sudo access

View file

@ -20,5 +20,6 @@
users = {
sajenim = import "${inputs.self}/home-manager/sajenim/${config.networking.hostName}.nix";
};
backupFileExtension = "bak";
};
}

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;