2024-09-22 14:46:51 -04:00
|
|
|
{ lib, ...}: {
|
|
|
|
imports = [
|
|
|
|
# Base configs
|
|
|
|
./base.nix
|
|
|
|
|
|
|
|
# Import users and groups
|
|
|
|
./users/jimbo.nix
|
|
|
|
./users/groups.nix
|
|
|
|
|
|
|
|
# Desktop only
|
|
|
|
./desktop/misc.nix
|
|
|
|
./desktop/sway.nix
|
|
|
|
./desktop/greetd-sway.nix
|
|
|
|
./desktop/printing.nix
|
|
|
|
./desktop/pipewire.nix
|
|
|
|
./desktop/bluetooth.nix
|
|
|
|
./desktop/firewall.nix
|
|
|
|
./desktop/fonts.nix
|
|
|
|
./desktop/qt.nix
|
|
|
|
|
|
|
|
# Laptop/Portable only
|
|
|
|
./hardware/wireless.nix
|
|
|
|
|
|
|
|
# Modules
|
|
|
|
./modules/security.nix
|
|
|
|
./modules/legacy.nix
|
|
|
|
|
|
|
|
# Hardware
|
|
|
|
./hardware/machines/pinebook.nix
|
|
|
|
./hardware/extlinux.nix
|
|
|
|
./hardware/opengl.nix
|
|
|
|
|
|
|
|
# Services
|
|
|
|
./services/openssh.nix
|
|
|
|
./services/udev.nix
|
|
|
|
./services/mpd.nix
|
|
|
|
];
|
|
|
|
|
2024-09-23 13:49:48 -04:00
|
|
|
# Set hostname
|
|
|
|
networking.hostName = "JimPine";
|
|
|
|
|
2024-09-22 14:46:51 -04:00
|
|
|
# Disable 32 bit graphics
|
|
|
|
hardware.opengl.driSupport32Bit = lib.mkForce false;
|
|
|
|
|
2024-09-23 13:49:48 -04:00
|
|
|
# Set the VPN IP per machine
|
|
|
|
networking.wireguard.interfaces."${ips.wgInt}".ips = [ "${ips.wgSpan}.17/24" ];
|
2024-09-22 14:46:51 -04:00
|
|
|
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|