system-configuration.nix (495B)
1 { 2 config, 3 pkgs, 4 lib, 5 ... 6 }: 7 let 8 inherit (lib) 9 mkOption 10 types 11 ; 12 in 13 { 14 options = { 15 system.outputs = { 16 systemConfiguration = mkOption { 17 type = types.package; 18 description = '' 19 pkgs.systemconfig for the configured filesystem, 20 contains 'activate' and 'init' commands 21 ''; 22 internal = true; 23 }; 24 }; 25 }; 26 config = { 27 system.outputs.systemConfiguration = pkgs.systemconfig config.filesystem.contents; 28 }; 29 }