configuration.nix 927 B

123456789101112131415161718192021222324252627282930313233
  1. { config, pkgs, lib, inputs, ... }:
  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/flavors/application/workstation
  15. ../../nixos/flavors/application/development
  16. ../../nixos/flavors/application/gaming
  17. ../../nixos/flavors/application/school
  18. ../../nixos/features/system/users.nix
  19. ];
  20. nixpkgs.config.allowUnfree = true;
  21. hardware.enableAllFirmware = true;
  22. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  23. networking.hostName = hosts.nixstation.hostname;
  24. boot.loader.systemd-boot.enable = true;
  25. boot.loader.efi.canTouchEfiVariables = true;
  26. system.stateVersion = "26.05";
  27. }