Personal NixOS flake

feat: add comma, nix-index-database

+36 -1
+21
flake.lock
··· 181 181 "type": "github" 182 182 } 183 183 }, 184 + "nix-index-database": { 185 + "inputs": { 186 + "nixpkgs": [ 187 + "nixpkgs" 188 + ] 189 + }, 190 + "locked": { 191 + "lastModified": 1754195341, 192 + "narHash": "sha256-YL71IEf2OugH3gmAsxQox6BJI0KOcHKtW2QqT/+s2SA=", 193 + "owner": "nix-community", 194 + "repo": "nix-index-database", 195 + "rev": "b7fcd4e26d67fca48e77de9b0d0f954b18ae9562", 196 + "type": "github" 197 + }, 198 + "original": { 199 + "owner": "nix-community", 200 + "repo": "nix-index-database", 201 + "type": "github" 202 + } 203 + }, 184 204 "nixpkgs": { 185 205 "locked": { 186 206 "lastModified": 1745391562, ··· 254 274 "emacs-overlay": "emacs-overlay", 255 275 "flake-parts": "flake-parts", 256 276 "home-manager": "home-manager_2", 277 + "nix-index-database": "nix-index-database", 257 278 "nixpkgs": "nixpkgs_3" 258 279 } 259 280 },
+5
flake.nix
··· 28 28 inputs.nixpkgs.follows = "nixpkgs"; 29 29 }; 30 30 catppuccin.url = "github:catppuccin/nix"; 31 + 32 + nix-index-database = { 33 + url = "github:nix-community/nix-index-database"; 34 + inputs.nixpkgs.follows = "nixpkgs"; 35 + }; 31 36 }; 32 37 33 38 outputs = { self, nixpkgs, home-manager, agenix, flake-parts, easy-hosts, catppuccin, ... } @ inputs: let
+8
home/emily/cli/comma.nix
··· 1 + { inputs, pkgs, ... }: 2 + { 3 + imports = [ 4 + inputs.nix-index-database.homeModules.nix-index 5 + ]; 6 + 7 + home.packages = with pkgs; [ comma ]; 8 + }
+2 -1
home/emily/cli/default.nix
··· 1 - {inputs', pkgs, ... }: 1 + {inputs', inputs, pkgs, ... }: 2 2 let 3 3 cliPackages = with pkgs; [ 4 4 charm-freeze ··· 18 18 # Because there's dubious value in having hledger or irssi, just as an example, on a server. 19 19 # (Altho in the case of hledger it could also open up the avenue of having some kind of webapp interface I could access on my phone too ngl...) 20 20 imports = [ 21 + ./comma.nix 21 22 ./direnv.nix 22 23 ./fish.nix 23 24 ./git.nix