diff --git a/.envrc b/.envrc index 8392d15..3550a30 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -use flake \ No newline at end of file +use flake diff --git a/AGENTS.md b/AGENTS.md index fb77ffa..cc02b82 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -28,7 +28,7 @@ nix flake lock --update-input X # Update specific input ### Dev Shell & REPL ```bash -nix develop .#shells.x86_64-linux.debugTexShell +nix develop .#shells.x86_64-linux.default nix repl :lf . ``` @@ -45,7 +45,7 @@ alejandra . Manual VM testing: ```bash -nix build .#nixosConfigurations.vm.config.system.build.vm +nix build '.?submodules=1#nixosConfigurations.vm.config.system.build.vm' ./result/bin/run-nixos-vm ``` @@ -55,6 +55,9 @@ nix build .#nixosConfigurations.vm.config.system.build.vm - **Home-manager modules**: `modules/home-manager/.nix` - **NixOS modules**: `modules/nixos/.nix` - **Imports**: All modules in `modules/home-manager/default.nix` and `modules/nixos/default.nix` (alphabetical order) +- **Home config**: `home-manager/home.nix` - main home-manager user config +- **Custom packages**: `pkgs/` - custom package definitions +- **Overlays**: `overlays/` - package overlays (addpkgs, modifications, unstable-packages) ### Nix Module Template @@ -70,6 +73,7 @@ nix build .#nixosConfigurations.vm.config.system.build.vm in { options.azos..enable = lib.mkOption { default = true; + example = true; type = lib.types.bool; }; @@ -83,6 +87,7 @@ in { - Option paths: `config.azos..