mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
packaging stuff up
This commit is contained in:
@ -1,15 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
# TODO: just replace with packages instead of apps
|
||||
|
||||
type = "app";
|
||||
|
||||
program = builtins.toString (
|
||||
pkgs.writeShellScript "loadkey" ''
|
||||
printf "\nEnter the seed phrase for your SSH key...\n"
|
||||
printf "\nThen press ^D when complete.\n\n"
|
||||
mkdir -p ~/.ssh/
|
||||
${pkgs.melt}/bin/melt restore ~/.ssh/id_ed25519
|
||||
printf "\n\nContinuing activation.\n\n"
|
||||
''
|
||||
);
|
||||
program = "${pkgs.loadkey}/bin/loadkey";
|
||||
}
|
||||
|
Reference in New Issue
Block a user