NixOS-Config/system/desktop.nix

54 lines
1.1 KiB
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{
imports = [
# Base configs
./base.nix
2024-08-26 20:45:07 -04:00
# Import users and groups
2024-08-24 22:16:51 -04:00
./users/jimbo.nix
2024-08-26 20:45:07 -04:00
./users/groups.nix
2024-08-24 22:16:51 -04:00
# Desktop only
./desktop/misc.nix
./desktop/sway.nix
2024-09-02 19:07:17 -04:00
./desktop/greetd-sway.nix
2024-08-24 22:16:51 -04:00
./desktop/printing.nix
./desktop/gaming.nix
./desktop/pipewire.nix
./desktop/bluetooth.nix
./desktop/firewall.nix
./desktop/fonts.nix
./desktop/qt.nix
2024-08-24 22:16:51 -04:00
# Modules
./modules/security.nix
./modules/legacy.nix
2024-08-24 22:16:51 -04:00
# Hardware
./hardware/machines/desktop.nix
2024-08-25 07:45:05 -04:00
./hardware/systemdboot.nix
2024-08-24 22:16:51 -04:00
./hardware/opengl.nix
./hardware/nvidia.nix
#./hardware/nouveau.nix
2024-08-24 22:16:51 -04:00
# Services
./services/openssh.nix
2024-09-24 17:58:52 -04:00
./services/qemukvm.nix
#./services/waydroid.nix
2024-08-24 22:16:51 -04:00
./services/udev.nix
./services/sunshine.nix
./services/mpd.nix
2024-09-13 23:11:53 -04:00
# School VPN
./services/globalprotect.nix
2024-08-24 22:16:51 -04:00
];
2024-09-08 21:45:54 -04:00
# Set hostname
networking.hostName = "JimDesktop";
2024-09-08 21:45:54 -04:00
# Force Electron to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "24.05";
2024-08-24 22:16:51 -04:00
}