mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 13:50:13 +00:00
networking and fonts
This commit is contained in:
10
modules/desktop/fonts.nix
Normal file
10
modules/desktop/fonts.nix
Normal 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 ];
|
||||
|
||||
}
|
7
modules/hardware/boot.nix
Normal file
7
modules/hardware/boot.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
}
|
13
modules/hardware/networking.nix
Normal file
13
modules/hardware/networking.nix
Normal 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;
|
||||
|
||||
}
|
Reference in New Issue
Block a user