about summary refs log blame commit diff
path: root/users/wpcarro/configs/default.nix
blob: 5b0b6a7dcc31a3a15d60d9c22cf788ca76686c2e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                              
{ pkgs, ... }:

{
  install = pkgs.writeShellScript "install-configs" ''
    cd "$WPCARRO/configs" && ${pkgs.stow}/bin/stow --target="$HOME" .
  '';

  uninstall = pkgs.writeShellScript "uninstall-configs" ''
    cd "$WPCARRO/configs" && ${pkgs.stow}/bin/stow --delete --target="$HOME" .
  '';
}