From 47dfde54f5e753a2b14a63aad7e6995ee66bd1a3 Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 18 Feb 2023 23:45:10 +0100 Subject: Fix: Add snap-sync through the nix flake --- home-manager/packages/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'home-manager/packages/default.nix') diff --git a/home-manager/packages/default.nix b/home-manager/packages/default.nix index 4381a76c..67e29879 100644 --- a/home-manager/packages/default.nix +++ b/home-manager/packages/default.nix @@ -6,14 +6,11 @@ inputs, user_js, impermanence, - resholve, + snap-sync, ... }: with pkgs; let - snap-sync = resholve.writeScriptBun "snap-sync" { - inputs = []; - interpreter = "${pkgs.dash}/bin/dash"; - } (builtins.readFile ./scritps/snap-sync/bin/snap-sync); + snap-sync-pkgs = pkgs.writeShellScriptBin "snap-sync" (builtins.readFile "${snap-sync}/bin/snap-sync"); Gui = { # Terminals = [ @@ -266,6 +263,6 @@ with pkgs; let #xorg-bdftopcf # Convert X font from Bitmap Distribution Format to Portable Compiled Format in { home.packages = [ - snap-sync + snap-sync-pkgs ]; } -- cgit 1.4.1