diff --git a/modules/darwin/default.nix b/modules/darwin/default.nix index 26434d0..34c7138 100644 --- a/modules/darwin/default.nix +++ b/modules/darwin/default.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let - emacsOverlaySha256 = "1smprpp3zqh04jdv0b7ibc69n025j1bnpp76lnwyvidilf055g2h"; + emacsOverlaySha256 = "1kl9hid28adcnb1y6cfi63jqmhypa31iknnnz3sp6szhkf30j1az"; in { home-manager.backupFileExtension = "nix-backup"; diff --git a/modules/darwin/home-manager.nix b/modules/darwin/home-manager.nix index ede5893..0f2b393 100644 --- a/modules/darwin/home-manager.nix +++ b/modules/darwin/home-manager.nix @@ -192,6 +192,9 @@ in controlMaster = "no"; controlPath = "~/.ssh/master-%r@%n:%p"; controlPersist = "no"; + preferredAuthentications = "publickey"; + identityAgent = "~/.gnupg/S.gpg-agent.ssh"; + identityFile = "none"; }; "moonunit.kolkman.org" = { hostname = "moonunit.kolkman.org"; diff --git a/overlays/10-feather-font.nix b/overlays/10-feather-font.nix new file mode 100644 index 0000000..02390cc --- /dev/null +++ b/overlays/10-feather-font.nix @@ -0,0 +1,30 @@ +self: super: with super; { + + feather-font = let + version = "1.0"; + pname = "feather-font"; + in stdenv.mkDerivation { + name = "${pname}-${version}"; + + src = fetchzip { + url = "https://github.com/dustinlyons/feather-font/archive/refs/tags/${version}.zip"; + sha256 = "sha256-Zsz8/qn7XAG6BVp4XdqooEqioFRV7bLH0bQkHZvFbsg="; + }; + + buildInputs = [ unzip ]; + phases = [ "unpackPhase" "installPhase" ]; + + installPhase = '' + mkdir -p $out/share/fonts/truetype + cp $src/feather.ttf $out/share/fonts/truetype/ + ''; + + meta = with lib; { + homepage = "https://www.feathericons.com/"; + description = "Set of font icons from the open source collection Feather Icons"; + license = licenses.mit; + maintainers = [ maintainers.dlyons ]; + platforms = [ platforms.x86_64-darwin ]; + }; + }; +}