@@ -64,8 +64,64 @@ nix-channel --update
64nix-shell -p '(import <nur> { pkgs = import <nixpkgs> {}; }).repos.charmbracelet.crush'
64nix-shell -p '(import <nur> { pkgs = import <nixpkgs> {}; }).repos.charmbracelet.crush'
67+### NixOS & Home Manager Module Usage via NUR
69+Crush provides NixOS and Home Manager modules via NUR.
70+You can use these modules directly in your flake by importing them from NUR. Since it auto detects whether its a home manager or nixos context you can use the import the exact same way :)
75+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
76+ nur.url = "github:nix-community/NUR";
79+ outputs = { self, nixpkgs, nur, ... }: {
80+ nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {
81+ system = "x86_64-linux";
83+ nur.modules.nixos.default
84+ nur.repos.charmbracelet.modules.crush
93+ base_url = "https://api.openai.com/v1";
95+ api_key = "sk-fake123456789abcdef...";
105+ go = { command = "gopls"; enabled = true; };
106+ nix = { command = "nil"; enabled = true; };
109+ context_paths = [ "/etc/nixos/configuration.nix" ];
110+ tui = { compact_mode = true; };
67</details>
122</details>
70<summary><strong>Debian/Ubuntu</strong></summary>
126<summary><strong>Debian/Ubuntu</strong></summary>