From 5a005c664c2d8140ceba9700b1f0c801b23b7666 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 10 Jul 2021 15:28:43 -0600 Subject: [PATCH] [NixOS] Add internet-computer.nix --- nixos/fonts.nix | 29 +++++++++++++++++++++++++++++ nixos/internet-computer.nix | 7 +++++++ 2 files changed, 36 insertions(+) create mode 100644 nixos/fonts.nix create mode 100644 nixos/internet-computer.nix diff --git a/nixos/fonts.nix b/nixos/fonts.nix new file mode 100644 index 00000000..77bd9043 --- /dev/null +++ b/nixos/fonts.nix @@ -0,0 +1,29 @@ +{ pkgs }: +{ + # Enable the gtk icon cache + gtk.iconCache.enable = true; + + fonts = { + fonts = with pkgs; [ + dejavu_fonts + emojione + fira-mono + font-awesome-ttf + noto-fonts-emoji + roboto + source-code-pro + source-sans-pro + source-serif-pro + # twemoji-color-font + ]; + fontconfig = { + allowBitmaps = true; + useEmbeddedBitmaps = true; + defaultFonts = { + monospace = [ "Source Code Pro" ]; + sansSerif = [ "Roboto" ]; + serif = [ "Source Serif Pro" ]; + }; + }; + }; +} diff --git a/nixos/internet-computer.nix b/nixos/internet-computer.nix new file mode 100644 index 00000000..443595af --- /dev/null +++ b/nixos/internet-computer.nix @@ -0,0 +1,7 @@ +{ pkgs }: +{ + environment.systemPackages = with pkgs; [ + ic-keysmith + quill + ]; +}