this repo has no description
1
fork

Configure Feed

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

ft: add Clacks to email clients

+98 -23
+21 -4
modules/email.nix
··· 1 1 {pkgs, ...}: { 2 + targets.darwin.defaults = { 3 + # Remember the fallen 4 + "com.apple.mail" = { 5 + UserHeaders = "{ \"X-Clacks-Overhead\" = \"GNU Terry Pratchett\"; }"; 6 + }; 7 + }; 8 + 2 9 # programs.himalaya.enable = true; 3 - programs.mbsync.enable = true; 4 - programs.notmuch.enable = true; 5 - programs.aerc.enable = true; 6 - programs.aerc.extraConfig.general.unsafe-accounts-conf = true; 10 + # programs.mbsync.enable = true; 11 + # programs.notmuch.enable = true; 12 + 13 + programs.aerc = { 14 + enable = true; 15 + extraConfig = { 16 + general.unsafe-accounts-conf = true; 17 + 18 + filters = { 19 + "text/plain" = "colorize"; 20 + }; 21 + }; 22 + }; 7 23 8 24 accounts.email.accounts."hauleth" = { 9 25 realName = "Łukasz Niemier"; ··· 18 34 aerc.enable = true; 19 35 # himalaya.enable = true; 20 36 37 + # TODO: Migrate to JMAP 21 38 imap = { 22 39 host = "mail.hauleth.dev"; 23 40 port = 993;
+10 -2
modules/git.nix
··· 54 54 pkgs.git-branchless 55 55 git-branchless-man 56 56 pkgs.git-gone 57 - pkgs.git-chglog 58 57 git-cliff 59 58 pkgs.git-revise 60 59 pkgs.gitAndTools.git-imerge ··· 125 124 126 125 merge = { 127 126 ff = false; 128 - conflictstyle = "diff3"; 127 + conflictstyle = "zdiff3"; 129 128 }; 130 129 131 130 branch.autoSetupRebase = "always"; ··· 140 139 indentHeuristic = true; 141 140 algorithm = "histogram"; 142 141 mnemonicPrefix = true; 142 + renames = "copies"; 143 143 144 144 tool = "difftastic"; 145 145 ··· 184 184 autostash = true; 185 185 autosquash = true; 186 186 updateRefs = true; 187 + }; 188 + 189 + url."git@github.com:".pushInsteadOf = "https://github.com/"; 190 + 191 + maintenance = { 192 + # It will ask 1password for access to SSH key/GH token. That is 193 + # irritating 194 + prefetch.enabled = false; 187 195 }; 188 196 189 197 pretty = {
+2
modules/nvim.nix
··· 17 17 start = [ 18 18 packer-nvim 19 19 nvim-treesitter.withAllGrammars 20 + neorg 21 + neorg-telescope 20 22 ]; 21 23 22 24 opt = [];
+3
modules/pijul.nix
··· 1 + { pkgs, ... }: { 2 + home.packages = [ pkgs.pijul ]; 3 + }
+37 -8
modules/swiftbar.nix
··· 1 - {pkgs, ...}: { 2 - home.packages = with pkgs; [ 3 - swiftbar 4 - ]; 1 + {pkgs, lib, ...}: { 2 + # WIP 3 + options.swiftbar = let 4 + inherit (lib) mkOption types; 5 + in { 6 + enable = lib.mkEnableOption "swiftbar"; 7 + 8 + package = lib.mkPackageOption pkgs "swiftbar" {}; 9 + 10 + plugins = mkOption { 11 + type = types.attrsOf (types.submodule { 12 + enable = lib.mkEnableOption "current SwiftBar plugin"; 13 + 14 + frequency = mkOption { 15 + type = types.string; 16 + example = "1m"; 17 + description = '' 18 + How often should SwiftBar run script in the background. 19 + ''; 20 + }; 21 + 22 + script = mkOption { 23 + type = types.string; 24 + }; 25 + }); 26 + }; 27 + }; 5 28 6 - targets.darwin.defaults = { 7 - "com.ameba.SwiftBar" = { 8 - PluginDirectory = "/Users/hauleth/.config/swift-bar/plugins/"; 29 + config = { 30 + home.packages = [ 31 + pkgs.swiftbar 32 + ]; 33 + 34 + targets.darwin.defaults = { 35 + "com.ameba.SwiftBar" = { 36 + PluginDirectory = "/Users/hauleth/.config/swift-bar/plugins/"; 37 + }; 9 38 }; 10 39 }; 11 - } 40 + }
+5 -2
modules/tools.nix
··· 1 - {pkgs, inputs, config, ...}: { 1 + {pkgs, inputs, config, ...}: let 2 + pkgs-self = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}; 3 + in { 2 4 home.packages = with pkgs; [ 3 5 # bfs 4 6 comby 5 7 senpai 6 8 jaq 7 9 jo 8 - inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.ubin-client 10 + glow 11 + pkgs-self.ubin-client 9 12 ]; 10 13 }
+1
users/hauleth.nix
··· 28 28 ../modules/nixd.nix 29 29 ../modules/swiftbar.nix 30 30 ../modules/email.nix 31 + ../modules/pijul.nix 31 32 ./modules/dircolors.nix 32 33 {home.stateVersion = "23.05";} 33 34 ];
+2 -4
vim/.config/nvim/fnl/langclient.fnl
··· 50 50 :default_config { 51 51 :autostart false 52 52 :filetypes ["elixir" "eelixir" "heex"] 53 - :root_dir (fn [fname] 54 - (let [project ((lspconfig.util.root_pattern ".git") fname)] 55 - project))} 56 - }) 53 + :root_dir (lspconfig.util.root_pattern "mix.lock") 54 + }}) 57 55 58 56 (set lspconfig.util.default_config 59 57 (vim.tbl_extend :force lspconfig.util.default_config
+1 -2
vim/.config/nvim/fnl/plugins.fnl
··· 39 39 ; Languages 40 40 (pkg :elixir-editors/vim-elixir 41 41 {:ft [:elixir :eex :heex]}) 42 - ;(pkg :nvim-orgmode/orgmode) 43 42 44 43 ; Language Protocol 45 44 (pkg :neovim/nvim-lspconfig) 46 45 (pkg :nvim-treesitter/playground 47 46 {:cmd [:TSPlaygroundToggle 48 - :TSHighlightCaputresUnderCursor]}) 47 + :TSHighlightCapturesUnderCursor]}) 49 48 (pkg :j-hui/fidget.nvim {:tag :legacy}) 50 49 51 50 ; Code manipulation
+1
vim/.config/nvim/ftdetect/custom.vim
··· 4 4 au BufRead,BufNewFile PULLREQ_EDITMSG setf gitcommit 5 5 au BufRead,BufNewFile *.livemd setf markdown 6 6 au BufRead,BufNewFile *.prr setf prr 7 + au BufRead,BufNewFile .plan setf plan
+4 -1
vim/.config/nvim/init.fnl
··· 266 266 :disable [:erlang :make :diff]} 267 267 :matchup {:enable true} 268 268 :indent {:enable true} 269 - :incremental_selection {:enable true}}))) 269 + :incremental_selection {:enable true}}) 270 + (setup :neorg 271 + {:load {:core.defaults {} 272 + :core.concealer {}}}))) 270 273 271 274 (defcommand Clean "keeppatterns %s/\\s\\+$//e | set nohlsearch") 272 275
+11
vim/.config/nvim/syntax/plan.vim
··· 1 + if exists("b:current_syntax") 2 + finish 3 + endif 4 + 5 + syn match PlanDone '^+\ze\s' conceal cchar=✔ 6 + syn match PlanWork '^\*\ze\s' conceal cchar=⏲ 7 + syn match PlanTodo '^-\ze\s' conceal cchar=⨯ 8 + 9 + hi def link PlanDone Include 10 + hi def link PlanWork Keyword 11 + hi def link PlanTodo Comment