From ae1242120c2f12828831e589b8bcf92bd7b1c78f Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 11 Nov 2022 09:20:51 -0600 Subject: [PATCH] add issue --- configuration.nix | 25 +++++++++++-------------- etc/issue | 15 +++++++++++++++ 2 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 etc/issue diff --git a/configuration.nix b/configuration.nix index ed61976..e89e919 100644 --- a/configuration.nix +++ b/configuration.nix @@ -12,9 +12,7 @@ experimental-features = nix-command flakes ''; - # todo import from a different file - nixpkgs.overlays = [ (self: super: { @@ -58,7 +56,6 @@ }; }); }) - ]; # networking.hostName = "nixos"; # Define your hostname. @@ -86,10 +83,16 @@ }; }; +fonts.fonts = with pkgs; [ + noto-fonts + noto-fonts-emoji + noto-fonts-extra + (nerdfonts.override { fonts = [ "FiraCode" "FiraMono" ]; }) + ]; + # for compatibility add zsh to list of /etc/shells environment.shells = with pkgs; [ zsh ]; - environment.systemPackages = with pkgs; [ fuse @@ -135,16 +138,10 @@ ]; - fonts.fonts = with pkgs; [ - noto-fonts - noto-fonts-cjk - noto-fonts-emoji - noto-fonts-extra - (nerdfonts.override { fonts = [ "FiraCode" "FiraMono" ]; }) - - ]; - - + environment.etc = { + issue.source = ./etc/issue; + }; + environment.variables = { NIX_LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ stdenv.cc.cc diff --git a/etc/issue b/etc/issue new file mode 100644 index 0000000..b6a1006 --- /dev/null +++ b/etc/issue @@ -0,0 +1,15 @@ +NixOS | \r | (\l) | \d | \t + + +   __      __        __            __                                  __  +  /  |    /  |      /  |          /  |                                /  | + _$$ |_   $$ |____  $$/  _______  $$ |   __   ______    ______    ____$$ | +/ $$   |  $$      \ /  |/       \ $$ |  /  | /      \  /      \  /    $$ | +$$$$$$/   $$$$$$$  |$$ |$$$$$$$  |$$ |_/$$/ /$$$$$$  | $$$$$$  |/$$$$$$$ | +  $$ | __ $$ |  $$ |$$ |$$ |  $$ |$$   $$<  $$ |  $$ | /    $$ |$$ |  $$ | +  $$ |/  |$$ |  $$ |$$ |$$ |  $$ |$$$$$$  \ $$ |__$$ |/$$$$$$$ |$$ \__$$ | +  $$  $$/ $$ |  $$ |$$ |$$ |  $$ |$$ | $$  |$$    $$/ $$    $$ |$$    $$ | +   $$$$/  $$/   $$/ $$/ $$/   $$/ $$/   $$/ $$$$$$$/   $$$$$$$/  $$$$$$$/  +                                            $$ |                           +                                            $$ |                           +                                            $$/