change wallpaper location on wayland/hyprland, sync script broken
This commit is contained in:
15
homeConfigs/modules/sync.nix
Normal file
15
homeConfigs/modules/sync.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.mods.sync.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "enable desk_sync command";
|
||||
};
|
||||
|
||||
home.file.".local/bin/desk_sync" = pkgs.writeShellScriptBin "desk_sync" ''
|
||||
${pkgs.unison}/
|
||||
config = lib.mkIf config.mods.sync.enable {
|
||||
'';
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user