From 4ab8d379def4a123fd4864206d50442197ee2e80 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 12 Feb 2022 20:17:09 +0100 Subject: add iohk's hydra instance on desktop they're an annoying company, but apparently that's currently the best way to build haskell things in nix? --- common/desktop.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/common/desktop.nix b/common/desktop.nix index 1816be9..03c8a8f 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -12,6 +12,15 @@ experimental-features = nix-command flakes ''; + # for haskell.nix compilers + nix.binaryCachePublicKeys = [ + "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" + ]; + nix.binaryCaches = [ + "https://hydra.iohk.io" + ]; + + # Enable CUPS to print documents. services.printing = { enable = true; @@ -56,8 +65,8 @@ enable = true; settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet -tr --asterisks --cmd 'hikari -c ~/hikari.conf'"; - user = "stuebinm"; + command = "${pkgs.greetd.tuigreet}/bin/tuigreet -tr --asterisks --cmd 'hikari -c ~/hikari.conf'"; + user = "stuebinm"; }; terminal.vt = 2; }; -- cgit v1.2.3