Files
nixos/hosts/genesis/default.nix
T

48 lines
1.1 KiB
Nix
Raw Normal View History

2023-06-29 00:27:30 -05:00
# 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).
2024-10-03 15:21:56 -05:00
{ pkgs, ... }:
2023-06-29 00:27:30 -05:00
{
imports = [
# Include the results of the hardware scan.
./acme.nix
./hardware-configuration.nix
./home-assistant.nix
./networking.nix
];
2023-09-02 20:07:12 -05:00
greg.home = true;
greg.gnome.enable = false;
2024-02-20 14:49:48 -06:00
# 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";
2023-06-29 00:27:30 -05:00
}