diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-16 11:43:29 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-16 11:43:29 +0530 |
| commit | c57791d3b1cb8e6ae23e304ba08c55746c0b8013 (patch) | |
| tree | 3a75b2c1a3aed11fe45d6dbe953eba1ab17af406 /nixos | |
| parent | 7af2a74fcb5fce4b35c2b3569206bc3f3477aad9 (diff) | |
calendar navigation + flake update + random other tools + no global postgres
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/apps.nix | 1 | ||||
| -rw-r--r-- | nixos/apps/browser.nix | 5 | ||||
| -rw-r--r-- | nixos/environment.nix | 6 | ||||
| -rw-r--r-- | nixos/games/default.nix | 4 | ||||
| -rw-r--r-- | nixos/opt/llm.nix | 4 | ||||
| -rw-r--r-- | nixos/services.nix | 28 |
6 files changed, 27 insertions, 21 deletions
diff --git a/nixos/apps.nix b/nixos/apps.nix index cbe809c..fc759b1 100644 --- a/nixos/apps.nix +++ b/nixos/apps.nix @@ -10,6 +10,7 @@ discord localsend bitwarden-desktop + parted obsidian libreoffice-qt6-fresh kdePackages.dolphin diff --git a/nixos/apps/browser.nix b/nixos/apps/browser.nix index 5b6ea42..0b5a330 100644 --- a/nixos/apps/browser.nix +++ b/nixos/apps/browser.nix @@ -4,10 +4,7 @@ inputs.zen-browser.packages."${system}".default ]; xdg.mime = let - value = let - zen-browser = inputs.zen-browser.packages.${system}.default; - in - zen-browser.meta.desktopFileName; + value = "zen-browser.desktop"; associations = builtins.listToAttrs (map (name: { inherit name value; diff --git a/nixos/environment.nix b/nixos/environment.nix index 18b1101..d9585f0 100644 --- a/nixos/environment.nix +++ b/nixos/environment.nix @@ -37,7 +37,6 @@ btop yazi scrcpy - cloc wf-recorder cava @@ -48,6 +47,7 @@ inetutils android-tools sqlite + bc zoxide starship @@ -59,8 +59,12 @@ cowsay lolcat just + jq + + termshark ]; fonts.packages = with pkgs; [ + dejavu_fonts nerd-fonts.jetbrains-mono ]; } diff --git a/nixos/games/default.nix b/nixos/games/default.nix index d928476..5894464 100644 --- a/nixos/games/default.nix +++ b/nixos/games/default.nix @@ -3,12 +3,14 @@ imports = (if games.minecraft then [ ./minecraft.nix ] else []); programs.steam.enable = true; + programs.steam.protontricks.enable = true; programs.steam.extraCompatPackages = with pkgs; [ proton-ge-bin ]; environment.systemPackages = with pkgs; [ steam-run - protontricks mangohud + freetype + fontconfig ]; } diff --git a/nixos/opt/llm.nix b/nixos/opt/llm.nix index a944d5c..f9dad3a 100644 --- a/nixos/opt/llm.nix +++ b/nixos/opt/llm.nix @@ -1,5 +1,7 @@ -{ config, pkgs, ... }: +{ config, pkgs, unstable, ... }: + { + services.ollama.package = unstable.ollama; services.ollama = { enable = true; acceleration = "cuda"; diff --git a/nixos/services.nix b/nixos/services.nix index a5e4b53..0aa96d5 100644 --- a/nixos/services.nix +++ b/nixos/services.nix @@ -32,20 +32,20 @@ services.cloudflare-warp.enable = true; services.openssh.enable = true; services.flatpak.enable = true; - services.postgresql = { - enable = true; - ensureUsers = [ - { - name = username; - ensureDBOwnership = true; - } - ]; - ensureDatabases = [ username ]; - authentication = pkgs.lib.mkOverride 10 '' - #type database DBuser auth-method - local all all trust - ''; - }; + # services.postgresql = { + # enable = true; + # ensureUsers = [ + # { + # name = username; + # ensureDBOwnership = true; + # } + # ]; + # ensureDatabases = [ username ]; + # authentication = pkgs.lib.mkOverride 10 '' + # #type database DBuser auth-method + # local all all trust + # ''; + # }; services.kanata = { enable = true; keyboards = { |
