configuration.nix 728 B

1234567891011121314151617181920212223242526272829
  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/sound
  10. ../../nixos/hardware/bluetooth
  11. ../../nixos/flavors/desktop/sway
  12. ../../nixos/flavors/desktop/sway/greeter-default.nix
  13. ../../nixos/features/system/basic.nix
  14. ../../nixos/features/system/users.nix
  15. ../../nixos/features/system/gaming.nix
  16. ];
  17. nixpkgs.config.allowUnfree = true;
  18. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  19. networking.hostName = hosts.dellaptop.hostname;
  20. boot.loader.systemd-boot.enable = true;
  21. boot.loader.efi.canTouchEfiVariables = true;
  22. system.stateVersion = "25.11";
  23. }