networking and fonts

This commit is contained in:
Noah Masur
2022-04-28 22:25:05 -04:00
parent 992496b1f0
commit 5404476552
5 changed files with 36 additions and 24 deletions

10
modules/desktop/fonts.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, font, ... }: {
fonts.fonts = with pkgs; [
font.package # Used for Vim and Terminal
font-awesome # Icons for i3
# siji # More icons for Polybar
];
fonts.fontconfig.defaultFonts.monospace = [ font.name ];
}

View File

@ -0,0 +1,7 @@
{ ... }: {
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}

View File

@ -0,0 +1,13 @@
{ hostname, ... }: {
networking.hostName = hostname; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = false;
networking.interfaces.enp0s31f6.useDHCP = true;
networking.interfaces.wlp3s0.useDHCP = true;
}