this repo has no description
1
fork

Configure Feed

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

Add gh, nix-your-shell, and some misc package

Ovyerus fc25f0ea 412d1fa9

+40 -23
+1
.gitignore
··· 1 + age/
+3
files/gfh.txt
··· 1 + 22317870::/Users/ovy/.ssh/id_ed25519_sk 2 + # 22317870::/Users/ovy/.ssh/2bikey 3 + # 15474656::/Users/ovy/.ssh/id_ed25519_sk
+12 -9
flake.nix
··· 10 10 }; 11 11 }; 12 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 - }; 13 + outputs = { 14 + nixpkgs, 15 + home-manager, 16 + ... 17 + }: let 18 + system = "aarch64-darwin"; 19 + pkgs = nixpkgs.legacyPackages.${system}; 20 + in { 21 + homeConfigurations."ovy" = home-manager.lib.homeManagerConfiguration { 22 + inherit pkgs; 23 + modules = [./home.nix]; 22 24 }; 25 + }; 23 26 }
+24 -14
home.nix
··· 1 - { config, pkgs, ... }: 2 - 3 1 { 2 + config, 3 + pkgs, 4 + ... 5 + }: { 4 6 home.username = "ovy"; 5 7 home.homeDirectory = "/Users/ovy"; 6 8 7 9 # This value determines the Home Manager release that your configuration is 8 10 # compatible with. This helps avoid breakage when a new Home Manager release 9 - # introduces backwards incompatible changes. 11 + # introduces backwards incompatible changes. 10 12 # 11 13 # You should not change this value, even if you update Home Manager. If you do 12 14 # want to update the value, then make sure to first check the Home Manager ··· 17 19 # environment. 18 20 home.packages = with pkgs; [ 19 21 age-plugin-yubikey 22 + alejandra 23 + cachix 20 24 colmena 21 25 du-dust 22 26 duf 27 + eza 23 28 fd 24 29 fzf 25 30 jq 26 31 macchina 27 32 magic-wormhole-rs 33 + nix-your-shell 28 34 ripgrep 29 35 zellij 30 36 mtr ··· 75 81 programs.direnv = { 76 82 enable = true; 77 83 nix-direnv.enable = true; 84 + config.whitelist.prefix = ["/Users/ovy/Projects/personal"]; 78 85 }; 79 86 80 87 programs.micro = { ··· 92 99 enable = true; 93 100 interactiveShellInit = '' 94 101 set fish_greeting 102 + nix-your-shell fish | source 95 103 ''; 96 104 97 105 shellAbbrs = { ··· 100 108 101 109 shellAliases = { 102 110 cat = "bat"; 103 - code = "code-insiders"; 111 + ls = "eza"; 112 + # TODO: only set if applicable 113 + # code = "code-insiders"; 104 114 dc = "docker compose"; 105 115 hm = "home-manager"; 106 116 ncg = "nix-collect-garbage"; ··· 162 172 enableFishIntegration = true; 163 173 }; 164 174 165 - # You can also manage environment variables but you will have to manually 166 - # source 167 - # 168 - # ~/.nix-profile/etc/profile.d/hm-session-vars.sh 169 - # 170 - # or 171 - # 172 - # /etc/profiles/per-user/ovy/etc/profile.d/hm-session-vars.sh 173 - # 174 - # if you don't want to manage your shell through Home Manager. 175 + programs.gh = { 176 + enable = true; 177 + settings = { 178 + git_protocol = "ssh"; 179 + aliases = { 180 + clone = "repo clone"; 181 + }; 182 + }; 183 + }; 184 + 175 185 home.sessionVariables = { 176 186 EDITOR = "micro"; 177 187 };