{ config, pkgs, cmd50, ... }: { # Services services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; security.rtkit.enable = true; # recommended for PipeWire hardware.bluetooth.enable = true; services.upower.enable = true; systemd.user.services.hugo-notes = { after = ["network.target"]; serviceConfig = { Type = "simple"; WorkingDirectory = "%h/repos/notes"; ExecStart = "${pkgs.hugo}/bin/hugo serve --port 1313"; Restart = "on-failure"; RestartSec = "5s"; }; wantedBy = ["default.target"]; }; systemd.user.services.serve = { after = ["network.target"]; serviceConfig = { Type = "simple"; WorkingDirectory = "%h/.local/www"; ExecStart = "${cmd50}/bin/serve --port 1314"; }; wantedBy = ["default.target"]; }; # Packages programs.sway = { enable = true; extraPackages = []; # Execute sway with required environment variables for GTK apps. wrapperFeatures.gtk = true; }; programs.ssh.startAgent = true; # without dbus-run-session opening links in Zed fails with "No Apps available" environment.loginShellInit = '' [[ "$(tty)" == /dev/tty1 ]] && exec dbus-run-session sway ''; environment.systemPackages = with pkgs; [ wmenu swaylock # CLI tools brightnessctl wl-clipboard # for wl-copy and wl-paste grim libnotify # for notify-send # graphical tools foot imv (mpv.override { youtubeSupport = false; # disable yt-dlp dependency }) zathura # TODO: zathura doesn't adjust zoom on PDF open even though adjust-open="best-fit" is the default according to zathurarc(5) element-desktop # set and forget capitaine-cursors-themed # the default cursor theme is missing a bunch of cursors i3status-rust mako poweralertd ]; programs.thunderbird = { enable = true; }; }