default.nix 826 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. { config, pkgs, lib, ... }:
  2. {
  3. imports = [
  4. ./sway.nix
  5. ./scripts.nix
  6. ./bg
  7. ./ui/eww
  8. ./ui/wofi
  9. ./ui/waybar
  10. ./ui/mako.nix
  11. ./theming/notwaita.nix
  12. ./theming/breeze-dark.nix
  13. ];
  14. config = {
  15. xdg.userDirs = {
  16. enable = true;
  17. createDirectories = true;
  18. documents = "$HOME/Documents";
  19. download = "$HOME/Downloads";
  20. desktop = "$HOME/Desktop";
  21. music = "$HOME/Music";
  22. pictures = "$HOME/Pictures";
  23. videos = "$HOME/Videos";
  24. projects = "$HOME/Projects";
  25. };
  26. home.packages = with pkgs; [
  27. grim
  28. slurp
  29. swappy
  30. ];
  31. };
  32. options.custom.swayExtras = {
  33. displays = lib.mkOption {
  34. type = lib.types.lines;
  35. default = "";
  36. description = "Host-specific display configuration for Sway";
  37. };
  38. };
  39. }