wterm-not-work-on-sway.scm 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ;; Copyright © 2021, 2022 Joshua Branson <jbranso@dismail.de>
  2. ;;
  3. ;; It is probably NOT possible to run sway on qemu, since qemu is running on X!
  4. (use-modules (gnu))
  5. (use-service-modules avahi
  6. base
  7. desktop
  8. networking
  9. sound
  10. ssh
  11. xorg)
  12. (use-package-modules base ssh)
  13. ;; allegedly %desktop-services now contains network-manager-applet...? Can I remove that?
  14. (define %my-desktop-services
  15. (modify-services %desktop-services
  16. (delete avahi-service-type)
  17. ;;(delete cups-pk-helper-service-type)
  18. (delete bluetooth-service)
  19. (delete colord-service-type)
  20. (delete gdm-service-type)
  21. (delete geoclue-service)
  22. (delete pulseaudio-service-type)
  23. (delete alsa-service-type)
  24. (delete network-manager-service-type)
  25. (delete wpa-supplicant-service-type)
  26. (delete screen-locker-service)
  27. (delete upower-service-type)
  28. (delete udisks-service)
  29. ))
  30. (operating-system
  31. (host-name "crazyhorse")
  32. (timezone "America/Indiana/Indianapolis")
  33. (locale "en_US.utf8")
  34. ;;(initrd-modules (list "e1000e" "i915" %base-initrd-modules))
  35. ;; when I reboot, does cat /proc/cmdline still show that I blacklisted:
  36. ;; modprobe.blacklist=usbmouse,usbkbd ?
  37. (keyboard-layout (keyboard-layout "us" "dvorak"
  38. #:model "thinkpad"
  39. #:options '("ctrl:swapcaps")))
  40. ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  41. ;; target hard disk, and "my-root" is the label of the target
  42. ;; root file system.
  43. (bootloader (bootloader-configuration
  44. (bootloader grub-bootloader)
  45. (targets (list "/dev/sda"))))
  46. (file-systems
  47. (cons*
  48. (file-system
  49. (mount-point "/")
  50. (device "/dev/sda1")
  51. (type "ext4"))
  52. %base-file-systems))
  53. (users (cons* (user-account
  54. (name "joshua")
  55. (comment "Joshua Branson")
  56. (group "users")
  57. (home-directory "/home/joshua")
  58. (supplementary-groups '("wheel" "audio" "video" "kvm" "netdev")))
  59. %base-user-accounts))
  60. ;; Globally-installed packages.
  61. (packages (append (map specification->package
  62. '("sway" "emacs" "foot" "wterm" "dbus" "nss-certs"))
  63. %base-packages))
  64. ;; Add services to the baseline: a DHCP client and
  65. ;; an SSH server.
  66. (services
  67. (cons*
  68. (service dhcp-client-service-type)
  69. (service openssh-service-type
  70. (openssh-configuration
  71. (openssh openssh-sans-x)
  72. (port-number 2222)))
  73. %my-desktop-services)))