default.nix 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. { config, pkgs, lib, ... }:
  2. let
  3. hosts = import ../../../config/hosts.nix;
  4. in
  5. {
  6. imports = [
  7. ./hardware.nix
  8. ../../../nixos/modules/system/nixos-base.nix
  9. ../../../nixos/modules/system/users.nix
  10. ../../../nixos/modules/hardware/networking
  11. ../../../nixos/modules/hardware/sound
  12. ../../../nixos/modules/hardware/bluetooth
  13. ../../../nixos/modules/hardware/biometric/elan-fingerprint.nix
  14. ../../../nixos/modules/desktop/hyprland
  15. ../../../nixos/modules/desktop/hyprland/greeter-default.nix
  16. ../../../nixos/profiles/workstation
  17. ../../../nixos/profiles/development
  18. ../../../nixos/profiles/gaming
  19. ../../../nixos/profiles/school
  20. ];
  21. boot.kernelParams = [
  22. "resume=UUID=3f914128-2e08-4080-b1bb-d7ddf9ef647a"
  23. ];
  24. nixpkgs.config.allowUnfree = true;
  25. hardware.enableAllFirmware = true;
  26. nix.settings.experimental-features = [ "nix-command" "flakes" ];
  27. networking.hostName = hosts.ideapad.hostname;
  28. virtualisation = {
  29. docker = {
  30. storageDriver = "overlay2";
  31. };
  32. };
  33. boot.loader.systemd-boot.enable = true;
  34. boot.loader.efi.canTouchEfiVariables = true;
  35. system.stateVersion = "26.05";
  36. }