diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 671596d5..de627a38 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -308,6 +308,8 @@ in android-udev-rules librsvg transmission-gtk + + ic-keysmith ]; # XXX: Plasma seems to set this diff --git a/nixos/minimal.nix b/nixos/minimal.nix index 3e09fd25..d1b70150 100644 --- a/nixos/minimal.nix +++ b/nixos/minimal.nix @@ -161,17 +161,14 @@ prometheus pscircle pstree - qt5.qttools rcm scrot silver-searcher - stow swig tmux tzupdate unzip usbutils - valgrind wget yubikey-manager @@ -182,6 +179,8 @@ # Miscellaneous android-udev-rules librsvg + + ic-keysmith ]; programs.zsh.enable = true; diff --git a/nixos/overlays.nix b/nixos/overlays.nix index d6cd7211..d905076f 100644 --- a/nixos/overlays.nix +++ b/nixos/overlays.nix @@ -14,4 +14,19 @@ let in { lorri = (import (lorriBinSource.outPath + "/default.nix")) { pkgs = super; }; + ic-keysmith = super.buildGoModule rec { + pname = "keysmith"; + version = "1.6.0"; + + src = super.fetchFromGitHub { + owner = "dfinity"; + repo = "keysmith"; + rev = "v${version}"; + sha256 = "1z0sxirk71yabgilq8v5lz4nd2bbm1xyrd5zppif8k9jqhr6v3v3"; + }; + + vendorSha256 = "1qnj1x8ydnbw5zb3hrsd1pd2lh3qbd340sbsjyrhcrksl1hdrrax"; + + runVend = true; + }; }