48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
|
||
{ pkgs, ... }:
|
||
|
||
{
|
||
imports = [
|
||
# Include the results of the hardware scan.
|
||
./acme.nix
|
||
./hardware-configuration.nix
|
||
./home-assistant.nix
|
||
./networking.nix
|
||
];
|
||
|
||
greg.home = true;
|
||
greg.gnome.enable = false;
|
||
|
||
# Bootloader.
|
||
boot.loader.grub = {
|
||
enable = true;
|
||
device = "/dev/vda";
|
||
useOSProber = true;
|
||
};
|
||
|
||
#boot.loader = {
|
||
# systemd-boot.enable = true;
|
||
# efi = {
|
||
# canTouchEfiVariables = true;
|
||
# efiSysMountPoint = "/boot/efi";
|
||
# };
|
||
#};
|
||
|
||
networking.hostName = "genesis"; # Define your hostname.
|
||
environment.systemPackages = with pkgs; [
|
||
awscli2
|
||
create_ssl
|
||
step-ca
|
||
];
|
||
|
||
virtualisation.oci-containers.containers.speedtest = {
|
||
image = "ghcr.io/librespeed/speedtest";
|
||
hostname = "speedtest";
|
||
ports = [ "19472:80" ];
|
||
};
|
||
greg.proxies."speedtest.thehellings.lan".target = "http://localhost:19472";
|
||
}
|