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’).
|
|
|
|
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
|
|
|
|
{
|
2023-08-18 20:46:37 -05:00
|
|
|
|
imports = [
|
|
|
|
|
|
# Include the results of the hardware scan.
|
2024-03-25 15:18:53 -05:00
|
|
|
|
./acme.nix
|
2023-08-18 20:46:37 -05:00
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
./home-assistant.nix
|
|
|
|
|
|
./networking.nix
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
greg.home = true;
|
2023-08-21 21:22:26 -05:00
|
|
|
|
greg.gnome.enable = false;
|
2023-08-18 20:46:37 -05:00
|
|
|
|
|
|
|
|
|
|
# Bootloader.
|
2023-09-02 20:07:12 -05:00
|
|
|
|
boot.loader.grub = {
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
device = "/dev/vda";
|
|
|
|
|
|
useOSProber = true;
|
2023-08-18 20:46:37 -05:00
|
|
|
|
};
|
2023-09-02 20:07:12 -05:00
|
|
|
|
|
|
|
|
|
|
#boot.loader = {
|
|
|
|
|
|
# systemd-boot.enable = true;
|
|
|
|
|
|
# efi = {
|
|
|
|
|
|
# canTouchEfiVariables = true;
|
|
|
|
|
|
# efiSysMountPoint = "/boot/efi";
|
|
|
|
|
|
# };
|
|
|
|
|
|
#};
|
2023-08-18 20:46:37 -05:00
|
|
|
|
|
|
|
|
|
|
networking.hostName = "genesis"; # Define your hostname.
|
2024-02-13 15:09:50 -06:00
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
|
awscli2
|
2024-02-13 23:01:01 -06:00
|
|
|
|
create_ssl
|
2024-03-25 15:18:53 -05:00
|
|
|
|
step-ca
|
2024-02-13 15:09:50 -06:00
|
|
|
|
];
|
2024-02-20 14:49:48 -06:00
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|