this repo has no description
1
fork

Configure Feed

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

feat: config git & karabiner-elements

Ovyerus e868628a 566db91f

+96 -41
+50
files/karabiner/meh.json
··· 1 + { 2 + "title": "Backspace → Meh (⌃⌥⇧) Z", 3 + "rules": [ 4 + { 5 + "description": "Caps Lock to Backspace", 6 + "manipulators": [ 7 + { 8 + "from": { 9 + "key_code": "caps_lock", 10 + "modifiers": { 11 + "optional": [ 12 + "left_command", 13 + "left_option", 14 + "left_control", 15 + "left_shift", 16 + "fn" 17 + ] 18 + } 19 + }, 20 + "to": [ 21 + { 22 + "key_code": "delete_or_backspace" 23 + } 24 + ], 25 + "type": "basic" 26 + } 27 + ] 28 + }, 29 + { 30 + "description": "Backspace → Meh (⌃⌥⇧) Z", 31 + "manipulators": [ 32 + { 33 + "from": { 34 + "key_code": "delete_or_backspace", 35 + "modifiers": { 36 + "optional": ["right_command", "left_command"] 37 + } 38 + }, 39 + "to": [ 40 + { 41 + "key_code": "left_shift", 42 + "modifiers": ["left_control", "left_option"] 43 + } 44 + ], 45 + "type": "basic" 46 + } 47 + ] 48 + } 49 + ] 50 + }
+23 -29
flake.nix
··· 1 - { 2 - description = "Home Manager configuration of ovy"; 3 - 4 - inputs = { 5 - # Specify the source of Home Manager and Nixpkgs. 6 - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 7 - home-manager = { 8 - url = "github:nix-community/home-manager"; 9 - inputs.nixpkgs.follows = "nixpkgs"; 10 - }; 11 - }; 12 - 13 - outputs = { nixpkgs, home-manager, ... }: 14 - let 15 - system = "aarch64-darwin"; 16 - pkgs = nixpkgs.legacyPackages.${system}; 17 - in { 18 - homeConfigurations."ovy" = home-manager.lib.homeManagerConfiguration { 19 - inherit pkgs; 20 - 21 - # Specify your home configuration modules here, for example, 22 - # the path to your home.nix. 23 - modules = [ ./home.nix ]; 24 - 25 - # Optionally use extraSpecialArgs 26 - # to pass through arguments to home.nix 27 - }; 28 - }; 29 - } 1 + { 2 + description = "Home Manager configuration of ovy"; 3 + 4 + inputs = { 5 + # Specify the source of Home Manager and Nixpkgs. 6 + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 7 + home-manager = { 8 + url = "github:nix-community/home-manager"; 9 + inputs.nixpkgs.follows = "nixpkgs"; 10 + }; 11 + }; 12 + 13 + outputs = { nixpkgs, home-manager, ... }: 14 + let 15 + system = "aarch64-darwin"; 16 + pkgs = nixpkgs.legacyPackages.${system}; 17 + in { 18 + homeConfigurations."ovy" = home-manager.lib.homeManagerConfiguration { 19 + inherit pkgs; 20 + modules = [ ./home.nix ]; 21 + }; 22 + }; 23 + }
+23 -12
home.nix
··· 17 17 # environment. 18 18 home.packages = with pkgs; [ 19 19 age-plugin-yubikey 20 - bartib 21 20 colmena 22 21 du-dust 23 22 duf ··· 29 28 ripgrep 30 29 zellij 31 30 mtr 32 - nixd 33 31 ]; 34 32 35 33 # TODO: configure bat, fzf, etc. 36 34 # https://github.com/sharkdp/bat/issues/357 37 35 38 - home.file = { }; 36 + xdg.configFile = { 37 + "karabiner/assets/complex_modifications/meh.json".source = ./files/karabiner/meh.json; 38 + }; 39 + 40 + programs.git = { 41 + enable = true; 42 + userName = "Ovyerus"; 43 + userEmail = "ovy@ovyerus.com"; 44 + # delta.enable = true; 45 + difftastic.enable = true; 46 + 47 + extraConfig = { 48 + pull.rebase = true; 49 + init.defaultBranch = "main"; 50 + 51 + user.signingKey = "~/.ssh/id_ed25519_sk_rk"; 52 + gpg.format = "ssh"; 53 + commit.gpgsign = true; 54 + tag.gpgsign = true; 39 55 40 - # programs.git = { 41 - # enable = true; 42 - # userName = "Ovyerus"; 43 - # userEmail = "ovy@ovyerus.com"; 44 - # extraConfig = { 45 - # pull.rebase = true; 46 - # init.defaultBranch = "main"; 47 - # }; 48 - # }; 56 + # "gpg \"ssh\"".program = "gfh-keygen"; 57 + # "gpg \"ssh\"".defaultKeyCommand = "gfh"; 58 + }; 59 + }; 49 60 50 61 # programs.rtx = { 51 62 # enable = true;