SSH agent go away

This commit is contained in:
Daniel Flanagan 2024-05-28 10:41:54 -05:00
parent 998fccd132
commit 453a635538
4 changed files with 21 additions and 15 deletions

View file

@ -25,7 +25,7 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
services.ssh-agent.enable = true; # services.ssh-agent.enable = true;
home = { home = {
username = lib.mkDefault "lytedev"; username = lib.mkDefault "lytedev";

View file

@ -22,11 +22,11 @@
''; '';
}; };
programs.gnupg.agent = { # programs.gnupg.agent = {
enable = true; # enable = true;
# pinentryFlavor = "gnome3"; # # pinentryFlavor = "gnome3";
enableSSHSupport = true; # enableSSHSupport = true;
}; # };
xdg.portal = { xdg.portal = {
enable = true; enable = true;

View file

@ -12,13 +12,13 @@
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
programs.gnupg.agent = { # programs.gnupg.agent = {
enable = true; # enable = true;
enableSSHSupport = true; # enableSSHSupport = true;
# settings = { # # settings = {
# pinentry-program = "/run/current-system/sw/bin/pinentry"; # # pinentry-program = "/run/current-system/sw/bin/pinentry";
# # };
# }; # };
};
xdg.portal = { xdg.portal = {
enable = true; enable = true;

View file

@ -1,15 +1,21 @@
{ {
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.nixpkgs.url = "github:nixos/nixpkgs?rev=ae34cb9560a578b6354655538e98fb69e8bc8d39";
outputs = inputs: let outputs = inputs: let
supportedSystems = ["aarch64-linux" "x86_64-linux" "x86_64-darwin" "aarch64-darwin"]; supportedSystems = ["aarch64-linux" "x86_64-linux" "x86_64-darwin" "aarch64-darwin"];
forAllSystems = inputs.nixpkgs.lib.genAttrs supportedSystems; forAllSystems = inputs.nixpkgs.lib.genAttrs supportedSystems;
nixpkgsFor = system: (import inputs.nixpkgs {inherit system;}); overlay = final: prev: {
erlangPackages = prev.beam.packagesWith prev.erlang_26;
erlang = final.erlangPackages.erlang;
};
nixpkgsFor = system: ((import inputs.nixpkgs {inherit system;}).extend overlay);
in { in {
devShells = forAllSystems (system: let devShells = forAllSystems (system: let
pkgs = nixpkgsFor system; pkgs = nixpkgsFor system;
in { in {
default = pkgs.mkShell { default = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
erlang
gleam gleam
]; ];
}; };