Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

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

feat: Add standalone homeConfiguration checks

Should catch errors in the less often used home configs

+20
+1
flake.nix
··· 14 14 imports = [ 15 15 (importApply' ./nix/flakeModules) 16 16 (importApply' ./nix/apps) 17 + (importApply' ./nix/checks) 17 18 (importApply' ./nix/overlays) 18 19 (importApply' ./nix/packages) 19 20 (importApply' ./nix/legacyPackages)
+5
nix/checks/default.nix
··· 1 + {...}: { 2 + imports = [ 3 + ./homeConfigurations.nix 4 + ]; 5 + }
+14
nix/checks/homeConfigurations.nix
··· 1 + {inputs, ...}: let 2 + inherit (inputs.nixpkgs) lib; 3 + in { 4 + perSystem = {system, ...}: { 5 + checks = 6 + inputs.self.homeConfigurations 7 + |> lib.filterAttrs (_: home: 8 + (home.pkgs.stdenv.hostPlatform.system == system) 9 + && home._module.specialArgs.osConfig == {}) 10 + |> lib.concatMapAttrs (name: home: { 11 + "homeConfigurations.${name}" = home.activationPackage; 12 + }); 13 + }; 14 + }