switch to unstable

This commit is contained in:
Xory 2025-10-24 13:57:08 +03:00
parent 45b7ba4fad
commit 306f80a078
3 changed files with 27 additions and 5 deletions

View file

@ -115,6 +115,9 @@
shell = pkgs.zsh;
};
services.ollama.enable = true;
services.ollama.acceleration = "cuda";
# Enable automatic login for the user.
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "xory";
@ -157,6 +160,17 @@
virtualisation.spiceUSBRedirection.enable = true;
virtualisation.docker.enable = true;
services = {
syncthing = {
enable = true;
group = "users";
user = "xory";
dataDir = "/home/xory/Sync"; # Default folder for new synced folders
configDir = "/home/xory/Sync/.config/syncthing"; # Folder for Syncthing's settings and keys
};
};
services.openssh.enable = true; # TODO: add key-based auth
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
@ -171,12 +185,13 @@
# services.openssh.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedTCPPorts = [ 8000 22000 ];
networking.firewall.allowedUDPPorts = [ 8000 22000 21027 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave