default.nix 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. { config, pkgs, lib, inputs, ... }:
  2. let
  3. hosts = import ../../../config/hosts.nix;
  4. in
  5. {
  6. imports = [
  7. ./hardware.nix
  8. ../../../nixos/modules/system/nixos-base.nix
  9. ../../../nixos/modules/system/users.nix
  10. ../../../nixos/profiles/workstation
  11. ../../../nixos/profiles/development
  12. ../../../nixos/profiles/gaming
  13. ../../../nixos/profiles/school
  14. ../../../nixos/modules/hardware/graphics/nvidia.nix
  15. ../../../nixos/modules/hardware/networking/bcm4360.nix
  16. ../../../nixos/modules/hardware/sound
  17. ../../../nixos/modules/hardware/bluetooth
  18. ../../../nixos/modules/hardware/power
  19. ../../../nixos/modules/desktop/hyprland
  20. ../../../nixos/modules/greeter/tuigreet/hyprland.nix
  21. ];
  22. boot.kernelParams = [
  23. "resume=UUID=ba1f1991-b3cf-4bb3-8558-da54c9afa148"
  24. ];
  25. systemd.sleep.settings.Sleep = {
  26. AllowHibernation = "no";
  27. AllowHybridSleep = "no";
  28. AllowSuspend = "no";
  29. AllowSuspendThenHibernate = "no";
  30. };
  31. networking.hostName = hosts.straume.hostname;
  32. }