this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

more minor tweaks

+5 -97
+1 -6
home/gui/default.nix
··· 15 15 # GPG configuration for user session 16 16 services.gpg-agent = { 17 17 enable = true; 18 - pinentry.package = pkgs.pinentry-rofi; # Use rofi for consistency with desktop theme 18 + pinentryPackage = pkgs.pinentry-curses; 19 19 enableSshSupport = true; 20 20 defaultCacheTtl = 28800; # 8 hours 21 21 maxCacheTtl = 86400; # 24 hours 22 - extraConfig = '' 23 - pinentry-program ${pkgs.writeShellScript "pinentry-rofi-themed" '' 24 - exec ${pkgs.pinentry-rofi}/bin/pinentry-rofi -theme ~/.config/rofi/theme/passmenu.rasi "$@" 25 - ''} 26 - ''; 27 22 }; 28 23 29 24 programs.gpg = {
+1 -1
home/profiles/cli/default.nix
··· 311 311 if [[ "$OSTYPE" == "darwin"* ]]; then 312 312 cd ~/usr/helm && sudo darwin-rebuild switch --impure --flake ".#Anishs-MacBook-Pro" && cd $OLDPWD 313 313 else 314 - cd /tmp && sudo nixos-rebuild switch --flake --impure '/home/anish/usr/helm#curve' && cd $OLDPWD 314 + cd /tmp && sudo nixos-rebuild switch --impure --flake '/home/anish/usr/helm#curve' && cd $OLDPWD 315 315 fi 316 316 ''; 317 317 nrt = "cd /tmp; sudo nixos-rebuild test --flake '/home/anish/usr/helm#curve'; cd $OLDPWD";
+2 -2
home/profiles/git/default.nix
··· 18 18 userEmail = "anish+git@lakhwara.com"; 19 19 delta.enable = true; 20 20 signing = { 21 - signByDefault = true; 22 - key = "7FC5DF072EF7B716"; 21 + signByDefault = if pkgs.stdenv.isLinux then false else true; 22 + key = if pkgs.stdenv.isLinux then "B8492C8FB53397B7" else "7FC5DF072EF7B716"; 23 23 }; 24 24 25 25 ignores = [
-87
home/profiles/nvim/default.nix
··· 11 11 }; 12 12 }; 13 13 14 - amp-nvim = pkgs.vimUtils.buildVimPlugin { 15 - name = "amp-nvim"; 16 - src = pkgs.fetchFromGitHub { 17 - owner = "sourcegraph"; 18 - repo = "amp.nvim"; 19 - rev = "main"; 20 - sha256 = "Sm/SQEIZlnqu/sD+MhZzgGm3bf+HnADOOimZ2Q++MXU="; 21 - }; 22 - }; 23 - 24 14 my-lspsaga = pkgs.vimUtils.buildVimPlugin { 25 15 name = "lspsaga.nvim"; 26 16 src = pkgs.fetchFromGitHub { ··· 863 853 require("which-key").setup{} 864 854 require('leap').set_default_keymaps() 865 855 866 - ${lib.optionalString (customPlugins.amp-nvim != null) '' 867 - -- Setup amp.nvim 868 - require('amp').setup({ 869 - auto_start = true, 870 - log_level = "info", 871 - completion_enabled = true 872 - }) 873 - -- require('amp.completion').setup({ 874 - -- keymaps = { 875 - -- accept = "<C-y>", 876 - -- dismiss = "<C-n>", 877 - -- } 878 - -- }) 879 - ''} 880 - 881 856 -- supercollider 882 857 local scnvim = require 'scnvim' 883 858 local map = scnvim.map ··· 1081 1056 }):find() 1082 1057 end 1083 1058 1084 - -- Setup amp.nvim 1085 - require('amp').setup({ 1086 - auto_start = true, 1087 - log_level = "info" 1088 - }) 1089 - 1090 - -- Amp commands 1091 - vim.api.nvim_create_user_command("AmpSend", function(opts) 1092 - local message = opts.args 1093 - if message == "" then 1094 - print("Please provide a message to send") 1095 - return 1096 - end 1097 - local amp_message = require("amp.message") 1098 - amp_message.send_message(message) 1099 - end, { 1100 - nargs = "*", 1101 - desc = "Send a message to Amp", 1102 - }) 1103 - 1104 - vim.api.nvim_create_user_command("AmpSendBuffer", function(opts) 1105 - local buf = vim.api.nvim_get_current_buf() 1106 - local lines = vim.api.nvim_buf_get_lines(buf, 0, -1, false) 1107 - local content = table.concat(lines, "\n") 1108 - local amp_message = require("amp.message") 1109 - amp_message.send_message(content) 1110 - end, { 1111 - nargs = "?", 1112 - desc = "Send current buffer contents to Amp", 1113 - }) 1114 - 1115 - vim.api.nvim_create_user_command("AmpPromptSelection", function(opts) 1116 - local lines = vim.api.nvim_buf_get_lines(0, opts.line1 - 1, opts.line2, false) 1117 - local text = table.concat(lines, "\n") 1118 - local amp_message = require("amp.message") 1119 - amp_message.send_to_prompt(text) 1120 - end, { 1121 - range = true, 1122 - desc = "Add selected text to Amp prompt", 1123 - }) 1124 - 1125 - vim.api.nvim_create_user_command("AmpPromptRef", function(opts) 1126 - local bufname = vim.api.nvim_buf_get_name(0) 1127 - if bufname == "" then 1128 - print("Current buffer has no filename") 1129 - return 1130 - end 1131 - local relative_path = vim.fn.fnamemodify(bufname, ":.") 1132 - local ref = "@" .. relative_path 1133 - if opts.line1 ~= opts.line2 then 1134 - ref = ref .. "#L" .. opts.line1 .. "-" .. opts.line2 1135 - elseif opts.line1 > 1 then 1136 - ref = ref .. "#L" .. opts.line1 1137 - end 1138 - local amp_message = require("amp.message") 1139 - amp_message.send_to_prompt(ref) 1140 - end, { 1141 - range = true, 1142 - desc = "Add file reference (with selection) to Amp prompt", 1143 - }) 1144 - 1145 1059 EOF 1146 1060 1147 1061 ''; ··· 1260 1174 # custom 1261 1175 yuck-vim 1262 1176 nvim-parinfer 1263 - amp-nvim 1264 1177 # vim-processing 1265 1178 ] ++ lib.optionals pkgs.stdenv.isLinux [ 1266 1179 # Linux-only plugins
+1 -1
hosts/profiles/desktop/default.nix
··· 65 65 unstable.newsflash 66 66 unstable.liferea 67 67 unstable.gh 68 - unstable.flyctl 68 + flyctl 69 69 70 70 kooha 71 71 light