Deployment and lifecycle management for Nix
0
fork

Configure Feed

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

feat: add system tag to seed metadata

Read the system platform (e.g. x86_64-linux) from each config's
pkgs.stdenv.hostPlatform.system and include it as a tag in seed
metadata for both nixos and home-manager seeds.

sow-104

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+2
+2
nix/sowerlib.nix
··· 29 29 type = "nixos"; 30 30 extraSeedMeta = lib.recursiveUpdate { 31 31 tags = { 32 + inherit (nixosConfig.pkgs.stdenv.hostPlatform) system; 32 33 nixos_version = nixosConfig.config.system.nixos.version; 33 34 }; 34 35 } (nixosConfig.config.sower.seed.meta or { }); ··· 42 43 package = homeConfig.activationPackage; 43 44 extraSeedMeta = { 44 45 tags = { 46 + inherit (homeConfig.pkgs.stdenv.hostPlatform) system; 45 47 inherit (homeConfig.config.home) username homeDirectory; 46 48 inherit (homeConfig.config.home.version) release; 47 49 };