NixOS-Config/system/pinebook.nix

53 lines
1.1 KiB
Nix
Raw Normal View History

2024-09-23 16:51:57 -04:00
{lib, outputs, ...}: {
2024-09-22 14:46:51 -04:00
imports = [
# Base configs
./base.nix
# Import users and groups
./users/jimbo.nix
./users/groups.nix
2024-09-23 14:16:30 -04:00
# Desktop
2024-09-22 14:46:51 -04:00
./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
2024-09-23 14:16:30 -04:00
./desktop/wireguard.nix
2024-09-22 14:46:51 -04:00
2024-09-23 14:16:30 -04:00
# Laptop/Portable
2024-09-22 14:46:51 -04:00
./hardware/wireless.nix
# Modules
./modules/security.nix
./modules/legacy.nix
# Hardware
./hardware/machines/pinebook.nix
./hardware/extlinux.nix
./hardware/opengl.nix
./hardware/filesystems.nix
2024-09-22 14:46:51 -04:00
# Services
./services/openssh.nix
2024-10-01 18:18:26 -04:00
./services/gnome-keyring.nix
2024-09-22 14:46:51 -04:00
./services/mpd.nix
];
# Set hostname
networking.hostName = "JimPine";
2024-09-22 14:46:51 -04:00
# Disable 32 bit graphics
hardware.opengl.driSupport32Bit = lib.mkForce false;
# Set the VPN IP per machine
2024-09-23 16:51:42 -04:00
networking.wireguard.interfaces."${outputs.ips.wgInt}".ips = [ "${outputs.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";
}