moving server configs to be more modular

This commit is contained in:
Chris Cochrun 2023-01-27 21:11:08 -06:00
parent bac5142431
commit 69235e61fa
6 changed files with 20 additions and 136 deletions

View file

@ -2,10 +2,23 @@
with lib;
{
nixpkgs.config.allowUnfree = true;
nix = {
extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixFlakes;
};
nixpkgs.config.allowUnFree = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "America/Chicago";
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# Set default shell to be dash for speed
# Apparently this is bad because a lot of nix relies on bash
# environment.binsh = "${pkgs.dash}/bin/dash";