Disable lvfs and minor bug fix in copy_files util.
This commit is contained in:
parent
56c0add33f
commit
ca3ef67533
@ -20,7 +20,8 @@
|
||||
config = lib.mkIf config.me.lvfs.enable (
|
||||
lib.mkMerge [
|
||||
{
|
||||
services.fwupd.enable = true;
|
||||
# TODO: Is this installing firmware or just downloading it? Is this needed?
|
||||
# services.fwupd.enable = true;
|
||||
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
|
@ -76,6 +76,7 @@ in
|
||||
in
|
||||
{
|
||||
home.activation = {
|
||||
# TODO: Perhaps place a script in checkLinkTargets to verify copy targets can be overwritten so home-manager aborts before files are changed.
|
||||
copyFiles = home-manager.lib.hm.dag.entryAfter [ "writeBoundary" ] (
|
||||
let
|
||||
copy_commands = builtins.map (
|
||||
@ -83,7 +84,7 @@ in
|
||||
let
|
||||
target_config = config.me.copy.file."${target}";
|
||||
source = lib.strings.escapeShellArg "${target_config.source}";
|
||||
destination = lib.strings.escapeShellArg target;
|
||||
destination = lib.strings.escapeShellArg "${target_config.target}";
|
||||
mode = lib.strings.escapeShellArg "${target_config.mode}";
|
||||
in
|
||||
# $DRY_RUN_CMD ${pkgs.toyboy}/bin/install $VERBOSE_ARG -D -m ${mode} ${source} ${destination}
|
||||
|
Loading…
x
Reference in New Issue
Block a user