1
0

configuration.nix 765 B

123456789101112131415161718192021222324252627282930
  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. hardware.enableAllFirmware = true;
  19. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  20. networking.hostName = hosts.dellaptop.hostname;
  21. boot.loader.systemd-boot.enable = true;
  22. boot.loader.efi.canTouchEfiVariables = true;
  23. system.stateVersion = "26.05";
  24. }