fonts: updated config to use packages
This commit is contained in:
parent
77a462c294
commit
684310ad81
|
@ -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
|
||||
|
|
|
@ -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; [
|
||||
powerline-fonts # Required for Powerline prompts
|
||||
];
|
||||
fonts.fontconfig.includeUserConf = false;
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
fontDir.enable = true;
|
||||
packages = with pkgs; [
|
||||
powerline-fonts # Required for Powerline prompts
|
||||
powerline-symbols # Powerline symbols
|
||||
];
|
||||
fontconfig.includeUserConf = false;
|
||||
};
|
||||
|
||||
# Adapted from gchristensen and clever
|
||||
nix = {
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue