❄️ My personnal NixOS configuration
nix-flake nixos-configuration linux dotfiles flake nix nix-config nixos nixos-flake linux-desktop

「🏗️」 wip(vicinae): work in progress, not done yet. #4

open opened by adjoly.fr targeting master from adding-vicinae
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:7g74v3wiannux6tuc5t74gln/sh.tangled.repo.pull/3meepgjyzrb22
+123 -14
Diff #0
+6 -6
flake.lock
··· 232 232 ] 233 233 }, 234 234 "locked": { 235 - "lastModified": 1762964643, 236 - "narHash": "sha256-RYHN8O/Aja59XDji6WSJZPkJpYVUfpSkyH+PEupBJqM=", 235 + "lastModified": 1768434960, 236 + "narHash": "sha256-cJbFn17oyg6qAraLr+NVeNJrXsrzJdrudkzI4H2iTcg=", 237 237 "owner": "nix-community", 238 238 "repo": "home-manager", 239 - "rev": "827f2a23373a774a8805f84ca5344654c31f354b", 239 + "rev": "b4d88c9ac42ae1a745283f6547701da43b6e9f9b", 240 240 "type": "github" 241 241 }, 242 242 "original": { ··· 747 747 ] 748 748 }, 749 749 "locked": { 750 - "lastModified": 1765543504, 751 - "narHash": "sha256-JicwCbAs6gEXl1zBZmaQmWERNkZkYLOPU4Je2QRZKxw=", 750 + "lastModified": 1769491693, 751 + "narHash": "sha256-bbqeCDML1yXI6kpy8q8BshKRV1szk3xV0StAbzw4Z+o=", 752 752 "owner": "0xc000022070", 753 753 "repo": "zen-browser-flake", 754 - "rev": "7697c47740fbe3ebe84130b1666830857ccb76fb", 754 + "rev": "708e0f10aba5de7d0f55883d06fa08aa6a7cd462", 755 755 "type": "github" 756 756 }, 757 757 "original": {
-5
home/LAPTOP-5530/packages.nix
··· 19 19 ]; 20 20 }) 21 21 22 - (unstable.alpaca.override { 23 - ollama = unstable.ollama-cuda.override { 24 - cudaArches = [ "sm_61" ]; 25 - }; 26 - }) 27 22 slack 28 23 postman 29 24 mockoon
+13
home/LAPTOP-5530/wm.nix
··· 1 1 { 2 2 ... 3 + 3 4 }: 4 5 5 6 { ··· 12 13 ]; 13 14 }; 14 15 16 + keyzox.tofi.enable = false; 17 + keyzox.vicinae.enable = true; 18 + 15 19 wayland.windowManager.hyprland = { 16 20 settings = { 17 21 gesture = [ 18 22 "3, horizontal, workspace" 23 + ]; 24 + bind = [ 25 + "$win, V, exec, vicinae vicinae://extensions/vicinae/clipboard/history" 26 + "$win, P, exec, vicinae vicinae://extensions/jomifepe/bitwarden/authenticator" 27 + ]; 28 + layerrule = [ 29 + "blur, vicinae" 30 + "ignorealpha 0, vicinae" 31 + "noanim, vicinae" 19 32 ]; 20 33 monitor = [ 21 34 "eDP-1, 1920x1080@60, 0x0, 1.25"
+10 -2
hosts/LAPTOP-5530/default.nix
··· 16 16 "nvidia" 17 17 ]; 18 18 19 - # nixpkgs.config.cudaSupport = true; 20 - 21 19 services.ollama = { 22 20 enable = true; 23 21 package = pkgs.unstable.ollama-cuda.override { 24 22 cudaArches = [ "sm_61" ]; 25 23 }; 24 + # host = "[::]"; 25 + }; 26 + services.open-webui = { 27 + enable = true; 28 + package = pkgs.unstable.open-webui; 29 + port = 6001; 30 + environment = { 31 + OLLAMA_API_BASE_URL = "http://127.0.0.1:11434"; 32 + WEBUI_AUTH = "False"; 33 + }; 26 34 }; 27 35 28 36 networking.hostName = "LAPTOP-5530";
+1
modules/home-manager/gui/wm/default.nix
··· 11 11 ./waybar.nix 12 12 ./tofi.nix 13 13 ./wl-sunset.nix 14 + ./vicinae.nix 14 15 ]; 15 16 }
+1 -1
modules/home-manager/gui/wm/hyprland.nix
··· 47 47 "$mod" = "ALT"; 48 48 "$win" = "SUPER"; 49 49 bind = [ 50 - "$mod, P, exec, tofi-drun --drun=true" 50 + "$mod, P, exec, vicinae toggle" 51 51 "CONTROLALT, delete, exec, hyprctl dispatch exit" 52 52 "$mod, return, exec, kitty" 53 53 "$mod, Q, killactive"
+92
modules/home-manager/gui/wm/vicinae.nix
··· 1 + { 2 + lib, 3 + config, 4 + pkgs, 5 + ... 6 + }: 7 + 8 + let 9 + vicinae-ext = pkgs.fetchFromGitHub { 10 + owner = "vicinaehq"; 11 + repo = "extensions"; 12 + rev = "cc3326e7e07b4d2d0aa9ebc1a54ee3b0fb1db469"; 13 + sha256 = "bDC2q3GlDjEE5J2SPHpIdbYKcuLDw3fsxSh3emMOEXU="; 14 + }; 15 + raycast-ext = pkgs.fetchFromGitHub { 16 + owner = "raycast"; 17 + repo = "extensions"; 18 + rev = "39f3e96e0162131d73c60890a0da873e73fa16b9"; 19 + sha256 = "x+DeSBr4lQivXi76Q0To7Y+pMJb4JFOy+uDasj5/oPY="; 20 + }; 21 + in 22 + { 23 + options = { 24 + keyzox.vicinae.enable = lib.mkEnableOption "Can be used to enable vicinae launcher"; 25 + }; 26 + 27 + config = lib.mkIf config.keyzox.vicinae.enable { 28 + catppuccin.vicinae = { 29 + enable = true; 30 + accent = "lavender"; 31 + flavor = "macchiato"; 32 + }; 33 + home.packages = with pkgs; [ 34 + bitwarden-cli 35 + ]; 36 + programs.vicinae = { 37 + enable = true; 38 + systemd.enable = true; 39 + settings = { 40 + font = { 41 + normal = "Monospace"; 42 + size = 10.5; 43 + }; 44 + keybinding = "emacs"; 45 + window = { 46 + csd = true; 47 + opacity = 0.85; 48 + rounding = 10; 49 + }; 50 + }; 51 + extensions = [ 52 + # (config.lib.vicinae.mkRayCastExtension { 53 + # name = "bitwarden"; 54 + # sha256 = "USbbEFzlUa3H9X8Ae4gyC9xAQbV4nVTnAaW7pIvHlZs="; 55 + # rev = "6c7cbb33ef1d3ab894b1279522dd8f1e36f7570b"; 56 + # }) 57 + # (config.lib.vicinae.mkRayCastExtension { 58 + # name = "github"; 59 + # sha256 = "5NNFo+RXq3FyPf6FvGT1RyF7esCZylJN9vRUzAwE1VM="; 60 + # rev = "d7fd3bb126b6a1b26d9ed45ae28292509d48fa96"; 61 + # }) 62 + # (config.lib.vicinae.mkRayCastExtension { 63 + # name = "speedtest"; 64 + # sha256 = "/HtA5qSdDPPQRRF2Zs8VUCvzqT7LFh85ULEZODa+ACo="; 65 + # rev = "f8ee7250696ef4ba4b7f20804bb3ea99dff24aab"; 66 + # }) 67 + # (config.lib.vicinae.mkRayCastExtension { 68 + # name = "stock-tracker"; 69 + # sha256 = "a/Mnrenh2Hl2qMtdpJb8LQKxn99Tg7+g3aTnb+W5otI="; 70 + # rev = "778967284b98400bc6e8ff7c28dac839eb96e638"; 71 + # }) 72 + # (config.lib.vicinae.mkRayCastExtension { 73 + # name = "tailscale"; 74 + # sha256 = ""; 75 + # rev = "e1c17d0c953fd1c883f3dad19c97cf56992ecb97"; 76 + # }) 77 + (config.lib.vicinae.mkExtension { 78 + name = "nix"; 79 + src = vicinae-ext + "/extensions/nix"; 80 + }) 81 + (config.lib.vicinae.mkExtension { 82 + name = "bluetooth"; 83 + src = vicinae-ext + "/extensions/bluetooth"; 84 + }) 85 + (config.lib.vicinae.mkExtension { 86 + name = "wifi-commander"; 87 + src = vicinae-ext + "/extensions/wifi-commander"; 88 + }) 89 + ]; 90 + }; 91 + }; 92 + }

History

1 round 0 comments
sign up or login to add to the discussion
adjoly.fr submitted #0
4 commits
expand
「🏗️」 wip(vicinae): work in progress, not done yet.
「🏗️」 wip(vicinae): mmh
「🆙」 update(zen): bumped to 1.17.5b
「🆙」 update(zen): just made a quick update !
no conflicts, ready to merge
expand 0 comments