From e7ab8c10d8854d92d3ac1f3812c2834a84c4758e Mon Sep 17 00:00:00 2001 From: Aner Zakobar Date: Sat, 28 Mar 2026 15:43:14 +0300 Subject: [PATCH] Many changes by GLM --- .envrc | 2 +- AGENTS.md | 43 ++++++- azos-core | 2 +- flake.lock | 123 ++++++++++++++++--- flake.nix | 2 +- modules/home-manager/chromium.nix | 21 ---- modules/home-manager/default.nix | 30 ++--- modules/home-manager/deluge.nix | 21 ---- modules/home-manager/discord.nix | 21 ---- modules/home-manager/gimp.nix | 21 ---- modules/home-manager/git.nix | 7 +- modules/home-manager/headphones-whmx4000.nix | 4 +- modules/home-manager/hyprland-suite.nix | 19 ++- modules/home-manager/lauretta-emacs.nix | 2 + modules/home-manager/libreoffice.nix | 21 ---- modules/home-manager/opencode.nix | 4 +- modules/home-manager/snx-rs.nix | 63 ++++++++++ modules/home-manager/spotify.nix | 21 ---- modules/home-manager/ytdl.nix | 2 +- modules/home-manager/zoom.nix | 21 ---- modules/nixos/audio.nix | 8 +- modules/nixos/default.nix | 2 +- modules/nixos/virtualization.nix | 20 ++- nixos/configuration-vm.nix | 2 +- nixos/configuration.nix | 3 +- nixos/lauretta-hardware-configuration.nix | 2 +- pkgs/azos-emacs-lauretta.nix | 3 +- pkgs/elisp/azos-emacs-lauretta.org | 71 +++++++++++ shells/defaultShell.nix | 27 ++-- 29 files changed, 342 insertions(+), 246 deletions(-) delete mode 100644 modules/home-manager/chromium.nix delete mode 100755 modules/home-manager/deluge.nix delete mode 100755 modules/home-manager/discord.nix delete mode 100755 modules/home-manager/gimp.nix delete mode 100755 modules/home-manager/libreoffice.nix create mode 100644 modules/home-manager/snx-rs.nix delete mode 100755 modules/home-manager/spotify.nix delete mode 100755 modules/home-manager/zoom.nix 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..