Files
nixos/hosts/proxmoxtemplate/default.nix
T

60 lines
1.3 KiB
Nix
Raw Normal View History

2025-04-14 00:44:19 -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).
2025-05-28 00:10:50 -05:00
{ pkgs, ... }:
2025-04-14 00:44:19 -05:00
{
2025-05-28 00:10:50 -05:00
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
2025-04-14 00:44:19 -05:00
# Bootloader.
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
2025-05-28 00:10:50 -05:00
environment.systemPackages =
with pkgs;
[
];
2025-04-14 00:44:19 -05:00
greg = {
home = true;
tailscale.enable = true;
};
networking = {
hostName = "proxmoxtemplate"; # Define your hostname.
# defaultGateway = {
# address = " 10.42.1.2";
# interface = "enp6s18";
# };
# interfaces = {
# enp6s18 = {
# ipv4.addresses = [
# {
# address = "10.42.1.8";
# prefixLength = 16;
# }
# ];
# };
# };
nameservers = [ "10.42.1.5" ];
};
2025-05-28 00:10:50 -05:00
services.qemuGuest.enable = true;
2025-04-14 00:44:19 -05:00
system.stateVersion = "24.11"; # Did you read the comment?
# Define a user account. Don't forget to set a password with passwd.
users.users.greg = {
isNormalUser = true;
description = "Greg Hellings";
extraGroups = [ "wheel" ];
2025-05-28 00:10:50 -05:00
packages = with pkgs; [ ];
2025-04-14 00:44:19 -05:00
};
}