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

33 lines
882 B
Nix
Raw Normal View History

2024-10-16 00:51:44 -04:00
{ config, lib, hardware, ... }:
2024-10-15 02:40:43 -04:00
{
imports = [
./hardware
2024-10-20 20:29:38 -04:00
./boot
2024-10-15 02:40:43 -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/extlinux
2024-10-16 01:21:11 -04:00
../../../modules/system/devices/networking/wireless
2024-10-15 02:40:43 -04:00
../../../modules/system/devices/networking/firewall/pc
../../../modules/system/devices/networking/wireguard/pc
2024-10-16 00:04:56 -04:00
2024-10-16 00:51:44 -04:00
# Extras
../../../overlays
../../../variables
2024-10-16 00:04:56 -04:00
# Imports
hardware.nixosModules.pine64-pinebook-pro
2024-10-15 02:40:43 -04:00
];
networking.hostName = "shuttleworth";
2024-10-16 00:16:56 -04:00
hardware.opengl.driSupport32Bit = lib.mkForce false;
networking.wireguard.interfaces."${config.ips.wgInt}".ips = [ "${config.ips.wgSpan}.17/24" ];
2024-10-15 02:40:43 -04:00
}