From 4c793e7ac162e314f9cb5d4c9e65c8a5e1aef467 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 1 Apr 2024 12:19:59 +0100 Subject: [PATCH] Console tweaks --- common.nix | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/common.nix b/common.nix index c883337..a31a6b3 100644 --- a/common.nix +++ b/common.nix @@ -5,6 +5,10 @@ ./users.nix ]; + nix.settings.max-jobs = lib.mkDefault 1; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.auto-optimise-store = true; + users.motdFile = builtins.path { path = ./files/motd; name = "motd"; @@ -18,16 +22,35 @@ # Select internationalisation properties. i18n.defaultLocale = "en_GB.UTF-8"; console = { - font = "Lat2-Terminus16"; + packages = [ pkgs.spleen ]; + font = "spleen-16x32"; useXkbConfig = true; # use xkb.options in tty. + colors = [ + "363537" + "ff6188" + "a9dc76" + "ffd866" + "fc9867" + "ab9df2" + "78dce8" + "fdf9f3" + "908e8f" + "ff6188" + "a9dc76" + "ffd866" + "fc9867" + "ab9df2" + "78dce8" + "fdf9f3" + ]; }; programs = { + git.enable = true; zsh.enable = true; }; environment.systemPackages = with pkgs; [ - git gnupg lsof gnumake