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

View file

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

View file

@ -53,7 +53,7 @@
}; };
# Install any additional fonts that I require to be used with xmonad # 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 open-sans # Used in in my polybar configuration
]; ];