configuration.nix 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. { config, pkgs, lib, ... }:
  2. let
  3. hosts = import ../../config/hosts.nix;
  4. in
  5. {
  6. imports = [
  7. ./hardware.nix
  8. ../../nixos/hardware/networking
  9. ../../nixos/hardware/sound
  10. ../../nixos/hardware/bluetooth
  11. ../../nixos/hardware/biometric/elan-fingerprint.nix
  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. boot.kernelParams = [
  21. "resume=UUID=3f914128-2e08-4080-b1bb-d7ddf9ef647a"
  22. ];
  23. nixpkgs.config.allowUnfree = true;
  24. hardware.enableAllFirmware = true;
  25. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  26. networking.hostName = hosts.ideapad.hostname;
  27. virtualisation = {
  28. docker = {
  29. storageDriver = "overlay2";
  30. };
  31. };
  32. boot.loader.systemd-boot.enable = true;
  33. boot.loader.efi.canTouchEfiVariables = true;
  34. system.stateVersion = "26.05";
  35. }