diff --git a/flake.nix b/flake.nix index 4cec465..3976ceb 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,8 @@ description = "NixOS configuration"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05/"; - home-manager.url = "github:nix-community/home-manager/release-25.05"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable/"; + home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/hosts/voidspear/configuration.nix b/hosts/voidspear/configuration.nix index 139bb66..a3090e4 100644 --- a/hosts/voidspear/configuration.nix +++ b/hosts/voidspear/configuration.nix @@ -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. It‘s perfectly fine and recommended to leave diff --git a/hosts/voidspear/home.nix b/hosts/voidspear/home.nix index 9314968..0a0f4be 100644 --- a/hosts/voidspear/home.nix +++ b/hosts/voidspear/home.nix @@ -19,12 +19,18 @@ qbittorrent ffmpeg yt-dlp - vesktop prismlauncher + (discord.override { + withOpenASAR = true; + withVencord = true; + }) keepassxc obs-studio mpv kdePackages.kdenlive + gimp + inkscape + krita distrobox screen arduino-ide @@ -36,6 +42,7 @@ woeusb-ng ntfs3g obsidian + spotify ]; home.file = {