fonts: updated config to use packages

This commit is contained in:
Serĉanto de Scio 2024-02-06 11:55:33 +10:00
parent 77a462c294
commit 684310ad81
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
3 changed files with 13 additions and 11 deletions

View file

@ -27,8 +27,7 @@
#../secrets/wireless.nix # Hey look! A squirrel!
];
#deployment.targetHost = "10.42.0.180";
deployment.targetHost = "10.42.0.115";
deployment.targetHost = "10.42.0.126";
nixpkgs = {
config = {
@ -54,7 +53,7 @@
networkmanager.enable = true; # Enables network support via NetworkManager.
};
fonts.fonts = with pkgs; [
fonts.packages = with pkgs; [
anonymousPro
dejavu_fonts # A typeface family based on the Bitstream Vera fonts
fira-code # Monospace font with programming ligaturess

View file

@ -26,7 +26,7 @@
# Set the defaul console properties
console = {
keyMap = "us"; # Set the default console key map
font = "ter-powerline-v16Rv"; # Set the default console font
font = "ter-powerline-v32n"; # Set the default console font
};
time.timeZone = "Australia/Brisbane"; # Set your preferred timezone:
@ -37,12 +37,15 @@
security.sudo.wheelNeedsPassword = false;
# Configure and install required fonts
fonts.enableDefaultFonts = true;
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
fonts = {
enableDefaultPackages = true;
fontDir.enable = true;
packages = with pkgs; [
powerline-fonts # Required for Powerline prompts
powerline-symbols # Powerline symbols
];
fonts.fontconfig.includeUserConf = false;
fontconfig.includeUserConf = false;
};
# Adapted from gchristensen and clever
nix = {

View file

@ -53,7 +53,7 @@
};
# Install any additional fonts that I require to be used with xmonad
fonts.fonts = with pkgs; [
fonts.packages = with pkgs; [
open-sans # Used in in my polybar configuration
];