configuration.nix 791 B

123456789101112131415161718192021222324252627282930
  1. { config, pkgs, lib, ... }:
  2. let
  3. hosts = import ../../config/hosts.nix;
  4. in
  5. {
  6. imports = [
  7. ./hardware-configuration.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/sway
  13. ../../nixos/flavors/desktop/sway/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. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  20. networking.hostName = hosts.nixstation.hostname;
  21. boot.loader.systemd-boot.enable = true;
  22. boot.loader.efi.canTouchEfiVariables = true;
  23. system.stateVersion = "25.11";
  24. }