Mosh and some gpg stuff
This commit is contained in:
parent
bc51766594
commit
96be934cde
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, config, ... }:
|
||||
let
|
||||
pinentry =
|
||||
if config.gtk.enable then {
|
||||
packages = [ pkgs.pinentry-gnome pkgs.gcr ];
|
||||
name = "gnome3";
|
||||
} else {
|
||||
packages = [ pkgs.pinentry-curses ];
|
||||
name = "curses";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = pinentry.packages;
|
||||
|
||||
# TODO: consider ssh support
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = pinentry.name;
|
||||
};
|
||||
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
settings = {
|
||||
trust-model = "tofu+pgp";
|
||||
};
|
||||
# publicKeys = [{
|
||||
# trust = 5;
|
||||
# }];
|
||||
};
|
||||
}
|
|
@ -1,6 +1,11 @@
|
|||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
programs.ssh.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
mosh # SSH replacement for slow connections
|
||||
];
|
||||
|
||||
# TODO: persistence
|
||||
# home.persistence = {
|
||||
# "/persist/home/adrielus".directories = [ ".ssh" ];
|
||||
# };
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ pkgs, config, ... }: {
|
||||
home.packages = [ pkgs.wezterm ];
|
||||
{ upkgs, config, ... }: {
|
||||
# REASON: newer version
|
||||
home.packages = [ upkgs.wezterm ];
|
||||
|
||||
# Create link to config
|
||||
xdg.configFile."wezterm/colorscheme.lua".text = config.satellite.colorscheme.lua;
|
||||
|
|
Loading…
Reference in a new issue