default.nix 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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/profiles/workstation
  11. ../../../nixos/profiles/development
  12. ../../../nixos/profiles/gaming
  13. ../../../nixos/profiles/school
  14. ../../../nixos/modules/hardware/networking
  15. ../../../nixos/modules/hardware/sound
  16. ../../../nixos/modules/hardware/bluetooth
  17. ../../../nixos/modules/hardware/biometric/fingerprint/elan.nix
  18. ../../../nixos/modules/hardware/power/battery.nix
  19. #../../../nixos/modules/desktop/mango
  20. #../../../nixos/modules/greeter/tuigreet/mango.nix
  21. ../../../nixos/modules/desktop/hyprland
  22. ../../../nixos/modules/greeter/tuigreet/hyprland.nix
  23. ];
  24. boot.kernelParams = [
  25. "resume=UUID=3f914128-2e08-4080-b1bb-d7ddf9ef647a"
  26. ];
  27. networking.hostName = hosts.ideapad.hostname;
  28. virtualisation = {
  29. docker = {
  30. storageDriver = "overlay2";
  31. };
  32. };
  33. }