Compare commits
No commits in common. "23747b5e405484b10392313b9c3bb0be4face3b0" and "720b7618a0d9738bc14d67fab0fdd91bc8c3b786" have entirely different histories.
23747b5e40
...
720b7618a0
@ -21,7 +21,7 @@
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
opts = {
|
options = {
|
||||||
hlsearch = false;
|
hlsearch = false;
|
||||||
incsearch = true;
|
incsearch = true;
|
||||||
number = true;
|
number = true;
|
||||||
|
@ -26,9 +26,5 @@ stdenv.mkDerivation {
|
|||||||
# Add dependencies to the runtime for my iso2chd script
|
# Add dependencies to the runtime for my iso2chd script
|
||||||
wrapProgram $out/bin/iso2chd \
|
wrapProgram $out/bin/iso2chd \
|
||||||
--prefix PATH : ${lib.makeBinPath [ mame-tools ]}
|
--prefix PATH : ${lib.makeBinPath [ mame-tools ]}
|
||||||
|
|
||||||
# Add dependencies to the runtime for my sync-backup script
|
|
||||||
wrapProgram $out/bin/sync-backup \
|
|
||||||
--prefix PATH : ${lib.makeBinPath [ rsync cryptsetup ]}
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
disk="$1"
|
|
||||||
|
|
||||||
sudo cryptsetup luksOpen "$disk" crypt
|
|
||||||
|
|
||||||
sudo mount /dev/mapper/crypt "$HOME/Documents/drive"
|
|
||||||
|
|
||||||
rsync -ahAXv --delete /home/crony/.local/backup/ /home/crony/Documents/drive/backup
|
|
||||||
|
|
||||||
sudo umount "$HOME/Documents/drive"
|
|
||||||
|
|
||||||
sudo cryptsetup luksClose /dev/mapper/crypt
|
|
Loading…
Reference in New Issue
Block a user