default.nix 778 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. { pkgs, inputs, ... }:
  2. {
  3. imports = with inputs.self.modules; [
  4. ./hardware-configuration.nix
  5. users.taisa
  6. ];
  7. roles.desktop = "kde";
  8. documentation = {
  9. doc.enable = false;
  10. man.enable = false;
  11. nixos.enable = false;
  12. };
  13. boot = {
  14. loader.systemd-boot.enable = true;
  15. extraModprobeConfig = "options iwlwifi disable_11ax=true";
  16. kernelPackages = pkgs.linuxPackages_6_6;
  17. kernelParams = [ "acpi_backlight=native" ];
  18. };
  19. networking = {
  20. hostName = "shrine";
  21. networkmanager.enable = true;
  22. };
  23. system.autoUpgrade = {
  24. enable = true;
  25. dates = "20:00";
  26. flake = "git+https://git.bad.net.ru/badbayan/nix-config#shrine";
  27. operation = "boot";
  28. };
  29. security.sudo.wheelNeedsPassword = false;
  30. zramSwap.enable = true;
  31. }