this repo has no description
1
fork

Configure Feed

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

Initial commit

+245
+48
flake.lock
··· 1 + { 2 + "nodes": { 3 + "home-manager": { 4 + "inputs": { 5 + "nixpkgs": [ 6 + "nixpkgs" 7 + ] 8 + }, 9 + "locked": { 10 + "lastModified": 1699660313, 11 + "narHash": "sha256-/nu7oA4Dm5vMbVb+kIJMS02V56h70XPLXoijYiTCpFg=", 12 + "owner": "nix-community", 13 + "repo": "home-manager", 14 + "rev": "e27be9db7b4ae5791f53d241b3661353c51a9677", 15 + "type": "github" 16 + }, 17 + "original": { 18 + "owner": "nix-community", 19 + "repo": "home-manager", 20 + "type": "github" 21 + } 22 + }, 23 + "nixpkgs": { 24 + "locked": { 25 + "lastModified": 1699099776, 26 + "narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=", 27 + "owner": "nixos", 28 + "repo": "nixpkgs", 29 + "rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb", 30 + "type": "github" 31 + }, 32 + "original": { 33 + "owner": "nixos", 34 + "ref": "nixos-unstable", 35 + "repo": "nixpkgs", 36 + "type": "github" 37 + } 38 + }, 39 + "root": { 40 + "inputs": { 41 + "home-manager": "home-manager", 42 + "nixpkgs": "nixpkgs" 43 + } 44 + } 45 + }, 46 + "root": "root", 47 + "version": 7 48 + }
+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 + }
+168
home.nix
··· 1 + { config, pkgs, ... }: 2 + 3 + { 4 + home.username = "ovy"; 5 + home.homeDirectory = "/Users/ovy"; 6 + 7 + # This value determines the Home Manager release that your configuration is 8 + # compatible with. This helps avoid breakage when a new Home Manager release 9 + # introduces backwards incompatible changes. 10 + # 11 + # You should not change this value, even if you update Home Manager. If you do 12 + # want to update the value, then make sure to first check the Home Manager 13 + # release notes. 14 + home.stateVersion = "23.05"; # Please read the comment before changing. 15 + 16 + # The home.packages option allows you to install Nix packages into your 17 + # environment. 18 + home.packages = with pkgs; [ 19 + age-plugin-yubikey 20 + bartib 21 + colmena 22 + du-dust 23 + duf 24 + fd 25 + fzf 26 + jq 27 + macchina 28 + magic-wormhole-rs 29 + ripgrep 30 + zellij 31 + mtr 32 + nixd 33 + ]; 34 + 35 + # TODO: configure bat, fzf, etc. 36 + # https://github.com/sharkdp/bat/issues/357 37 + 38 + home.file = { }; 39 + 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 + # }; 49 + 50 + # programs.rtx = { 51 + # enable = true; 52 + # enableFishIntegration = true; 53 + # }; 54 + 55 + programs.bat = { 56 + enable = true; 57 + config = { 58 + pager = "never"; 59 + }; 60 + }; 61 + 62 + programs.direnv = { 63 + enable = true; 64 + nix-direnv.enable = true; 65 + }; 66 + 67 + programs.micro = { 68 + enable = true; 69 + settings = { 70 + clipboard = "terminal"; 71 + scrollbar = true; 72 + tabmovement = true; 73 + tabsize = 2; 74 + tabstospaces = true; 75 + }; 76 + }; 77 + 78 + programs.fish = { 79 + enable = true; 80 + interactiveShellInit = '' 81 + set fish_greeting 82 + ''; 83 + 84 + shellAbbrs = { 85 + gco = "git checkout"; 86 + }; 87 + 88 + shellAliases = { 89 + cat = "bat"; 90 + code = "code-insiders"; 91 + dc = "docker compose"; 92 + hm = "home-manager"; 93 + ncg = "nix-collect-garbage"; 94 + ze = "zellij"; 95 + }; 96 + 97 + plugins = with pkgs.fishPlugins; [ 98 + # { name = "hydro"; src = hydro.src; } 99 + { 100 + name = "lumin"; 101 + src = pkgs.fetchFromGitHub { 102 + owner = "ovyerus"; 103 + repo = "lumin"; 104 + rev = "dc0b8f57f5b2a58a289ea6088843bd56f8633aa6"; 105 + sha256 = "10aifc1scb9wg9sphvgn602chrf7v7a424h24ip2lzgk37wzlcn3"; 106 + }; 107 + } 108 + { 109 + name = "nix.fish"; 110 + src = pkgs.fetchFromGitHub { 111 + owner = "kidonng"; 112 + repo = "nix.fish"; 113 + rev = "ad57d970841ae4a24521b5b1a68121cf385ba71e"; 114 + sha256 = "13x3bfif906nszf4mgsqxfshnjcn6qm4qw1gv7nw89wi4cdp9i8q"; 115 + }; 116 + } 117 + { 118 + name = "autopair.fish"; 119 + src = pkgs.fetchFromGitHub { 120 + owner = "jorgebucaran"; 121 + repo = "autopair.fish"; 122 + rev = "4d1752ff5b39819ab58d7337c69220342e9de0e2"; 123 + sha256 = "0l2g922gwjd64ar41j7cp09vvvrs30ha55b85nidni4i4bbfvpda"; 124 + }; 125 + } 126 + # { 127 + # name = "sponge"; 128 + # src = pkgs.fetchFromGitHub { 129 + # owner = "meaningful-ooo"; 130 + # repo = "sponge"; 131 + # rev = "384299545104d5256648cee9d8b117aaa9a6d7be"; 132 + # sha256 = "0p4vk6pq858h2v39c41irrgw1fbbcs7gd9cdr9i9fd3d6i81kmri"; 133 + # }; 134 + # } 135 + ]; 136 + }; 137 + 138 + programs.tealdeer = { 139 + enable = true; 140 + settings = { 141 + updates = { 142 + auto_update = true; 143 + }; 144 + }; 145 + }; 146 + 147 + programs.zoxide = { 148 + enable = true; 149 + enableFishIntegration = true; 150 + }; 151 + 152 + # You can also manage environment variables but you will have to manually 153 + # source 154 + # 155 + # ~/.nix-profile/etc/profile.d/hm-session-vars.sh 156 + # 157 + # or 158 + # 159 + # /etc/profiles/per-user/ovy/etc/profile.d/hm-session-vars.sh 160 + # 161 + # if you don't want to manage your shell through Home Manager. 162 + home.sessionVariables = { 163 + EDITOR = "micro"; 164 + }; 165 + 166 + # Let Home Manager install and manage itself. 167 + programs.home-manager.enable = true; 168 + }