Update depreciated values for NixOS 24.05
This commit is contained in:
		
							parent
							
								
									7b5f9a5182
								
							
						
					
					
						commit
						f55f8e6da8
					
				
					 4 changed files with 22 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -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 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,5 +20,6 @@
 | 
			
		|||
    users = {
 | 
			
		||||
      sajenim = import "${inputs.self}/home-manager/sajenim/${config.networking.hostName}.nix";
 | 
			
		||||
    };
 | 
			
		||||
    backupFileExtension = "bak";
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue