mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
10 lines
303 B
Nix
10 lines
303 B
Nix
# A standalone version of the dconf profile generation build step based from
|
|
# the nixpkgs' NixOS dconf module.
|
|
{ lib, runCommand, dconf }:
|
|
|
|
{ dir, name ? baseNameOf dir, keyfiles, profile }@args:
|
|
|
|
runCommand "dconf-${name}" {
|
|
nativeBuildInputs = [ (lib.getBin dconf) ];
|
|
} "dconf compile $out ${dir}"
|