NixOS-Config/hosts/lacros/system/default.nix

33 lines
817 B
Nix
Raw Normal View History

2024-10-18 19:49:25 -04:00
{ config, pkgs, ... }:
2024-10-18 15:32:32 -04:00
{
imports = [
./hardware
./boot
2024-10-18 15:32:32 -04:00
# Apps and programs
../../../modules/system
../../../modules/system/accounts
../../../modules/system/desktop
../../../modules/system/programs
../../../modules/system/services
# Devices and hardware
../../../modules/system/devices
../../../modules/system/devices/boot/lanzaboote
../../../modules/system/devices/networking/wireless
../../../modules/system/devices/networking/firewall/pc
../../../modules/system/devices/networking/wireguard/pc
# Extras
../../../overlays
../../../variables
];
2024-10-18 19:49:25 -04:00
environment.systemPackages = with pkgs; [
dmidecode
];
2024-10-18 15:32:32 -04:00
networking.hostName = "lacros";
networking.wireguard.interfaces."${config.ips.wgInt}".ips = [ "${config.ips.wgSpan}.18/24" ];
}