1
0

configuration.nix 952 B

12345678910111213141516171819202122232425262728293031323334353637
  1. { config, pkgs, lib, ... }:
  2. let
  3. hosts = import ../../config/hosts.nix;
  4. in
  5. {
  6. imports = [
  7. ./hardware.nix
  8. ../../nixos/hardware/gpu/nvidia.nix
  9. ../../nixos/hardware/networking/bcm4360.nix
  10. ../../nixos/hardware/sound
  11. ../../nixos/hardware/bluetooth
  12. ../../nixos/flavors/desktop/hyprland
  13. ../../nixos/flavors/desktop/hyprland/greeter-default.nix
  14. ../../nixos/features/system/basic.nix
  15. ../../nixos/features/system/users.nix
  16. ../../nixos/features/system/gaming.nix
  17. ];
  18. nixpkgs.config.allowUnfree = true;
  19. hardware.enableAllFirmware = true;
  20. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  21. networking.hostName = hosts.nixstation.hostname;
  22. boot.loader.systemd-boot.enable = true;
  23. boot.loader.efi.canTouchEfiVariables = true;
  24. system.stateVersion = "26.05";
  25. nixpkgs.overlays = [
  26. (final: prev: {
  27. openblas = prev.openblas.overrideAttrs (old: { doCheck = false; });
  28. })
  29. ];
  30. }