{ pkgs, config, lib, ... }: { imports = [ ./default.nix ./tailscale.nix ]; virtualisation.docker.enable = false; virtualisation.podman.enable = true; virtualisation.podman.dockerCompat = true; services.dbus.enable = true; services.dbus.packages = with pkgs; [ gcr dconf gnome.sushi ]; services.udev.packages = with pkgs; [ gnome3.gnome-settings-daemon ]; services.gvfs.enable = true; programs.dconf.enable = true; services.avahi.enable = true; services.avahi.nssmdns = true; services.avahi.openFirewall = true; # for the yubikeys services.pcscd.enable = true; # Install tools related to the scanner (scanimage etc) hardware.sane.enable = true; # RealtimeKit is recommended security.rtkit.enable = true; # Sound configuration sound.enable = false; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; jack.enable = true; }; hardware.pulseaudio.enable = false; # This is a good source of information about fonts: # https://github.com/system-fonts/modern-font-stacks fonts = { enableDefaultFonts = true; fontDir.enable = true; fontconfig = { enable = true; defaultFonts = { serif = [ "DejaVu Serif" ]; sansSerif = [ "Roboto" ]; monospace = [ "JetBrain Mono" ]; }; }; fonts = with pkgs; [ cantarell-fonts dejavu_fonts etBook font-awesome_5 google-fonts jetbrains-mono powerline-fonts roboto ]; }; # Misc packages useful on a workstation environment.systemPackages = with pkgs; [ # sound related pulseaudio pavucontrol easyeffects ]; hardware.opengl.enable = true; # Use systemd-resolved services.resolved.enable = true; services.resolved.dnssec = "false"; xdg.portal = { enable = true; wlr.enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; }; programs.sway = { enable = true; wrapperFeatures.gtk = true; extraPackages = with pkgs; [ brightnessctl polkit_gnome xsettingsd swaylock swayidle wl-clipboard ]; extraSessionCommands = '' export MOZ_ENABLE_WAYLAND=1 ''; }; }