summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2022-02-12 20:17:09 +0100
committerstuebinm2022-02-12 20:17:09 +0100
commit4ab8d379def4a123fd4864206d50442197ee2e80 (patch)
tree1c37d9ce7ba1e2cd5f50dfaca8ee6bdadb79a452
parente23ae49b71c69fe511e2aa6a125e520d3012077c (diff)
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?
Diffstat (limited to '')
-rw-r--r--common/desktop.nix13
1 files 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;
};