about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-18 23:45:10 +0100
committerene <ene@sils.li>2023-02-18 23:45:10 +0100
commit47dfde54f5e753a2b14a63aad7e6995ee66bd1a3 (patch)
treec2f31b4eb4247e9aaf023ae02df27c0eb9f6e569 /home-manager
parentFeat: Move (nearly all) packages to user configs (diff)
downloadnixos-config-47dfde54f5e753a2b14a63aad7e6995ee66bd1a3.tar.gz
nixos-config-47dfde54f5e753a2b14a63aad7e6995ee66bd1a3.zip
Fix: Add snap-sync through the nix flake
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/packages/default.nix9
1 files changed, 3 insertions, 6 deletions
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
   ];
 }