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!
|
#../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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue