remove age and loadkey module

This commit is contained in:
Noah Masur 2022-10-16 14:25:47 +00:00
parent 084e832039
commit 89a95445e1
3 changed files with 1 additions and 26 deletions

View File

@ -1,25 +0,0 @@
{ config, pkgs, lib, ... }: {
options = {
# identityFile = lib.mkOption {
# type = lib.types.str;
# description = "Path to SSH key for age";
# default = "${config.homePath}/.ssh/id_ed25519";
# };
};
config = {
home-manager.users.${config.user}.home.packages = with pkgs; [ age ];
# system.activationScripts.age.text = ''
# if [ ! -f "${config.identityFile}" ]; then
# $DRY_RUN_CMD echo -e \nEnter the seed phrase for your SSH key...\n
# $DRY_RUN_CMD echo -e \nThen press ^D when complete.\n\n
# $DRY_RUN_CMD ${pkgs.melt}/bin/melt restore ${config.identityFile}
# $DRY_RUN_CMD chown ${config.user}:wheel ${config.identityFile}*
# $DRY_RUN_CMD echo -e \n\nContinuing activation.\n\n
# fi
# '';
};
}

View File

@ -1,6 +1,5 @@
{ ... }: {
imports = [
./age.nix
./charm.nix
./direnv.nix
./fish

View File

@ -32,6 +32,7 @@ in {
dig # DNS lookup
lf # File viewer
whois # Lookup IPs
age # Encryption
];
programs.zoxide.enable = true; # Shortcut jump command