2023-07-07 16:55:42 -05:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
2023-07-07 19:09:12 -05:00
|
|
|
hostname = "virtbox";
|
2023-07-07 16:55:42 -05:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
2023-07-07 23:09:54 -05:00
|
|
|
./hardware-configuration.nix # include the results of the hardware scan
|
|
|
|
./virtbox.nix
|
|
|
|
./netbox.nix
|
2023-07-07 16:55:42 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
|
|
|
|
|
|
|
time.timeZone = "America/Chicago";
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
console = {
|
|
|
|
font = "Lat2-Terminus16";
|
|
|
|
keyMap = "us";
|
|
|
|
};
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
neovim
|
|
|
|
curl
|
|
|
|
htop
|
|
|
|
git
|
|
|
|
];
|
|
|
|
|
2023-07-07 23:09:54 -05:00
|
|
|
system.copySystemConfiguration = true;
|
|
|
|
system.stateVersion = "23.05"; # don't change this, lol
|
2023-07-07 16:55:42 -05:00
|
|
|
|
2023-07-07 23:09:54 -05:00
|
|
|
# branch and enable different capabilities based on the system
|
2023-07-07 16:55:42 -05:00
|
|
|
|
2023-07-07 23:09:54 -05:00
|
|
|
lib.mkIf hostname == "virtbox" {
|
|
|
|
services.virtbox.enable = true;
|
2023-07-07 16:55:42 -05:00
|
|
|
};
|
|
|
|
}
|