nix-files/hosts/common/programs/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
2023-04-26 00:25:08 +00:00
imports = [
./aerc.nix
./assorted.nix
2023-04-26 00:26:05 +00:00
./git.nix
./gnome-feeds.nix
./gpodder.nix
./imagemagick.nix
./jellyfin-media-player.nix
2023-04-26 00:36:37 +00:00
./kitty
./libreoffice.nix
2023-04-26 00:28:11 +00:00
./mpv.nix
./neovim.nix
./newsflash.nix
./offlineimap.nix
./ripgrep.nix
./splatmoji.nix
./sublime-music.nix
2023-04-26 00:35:01 +00:00
./vlc.nix
./web-browser.nix
2023-05-10 04:52:12 +00:00
./wireshark.nix
./zeal.nix
2023-04-26 00:46:35 +00:00
./zsh
2023-04-26 00:25:08 +00:00
];
config = {
# XXX: this might not be necessary. try removing this and cacert.unbundled (servo)?
environment.etc."ssl/certs".source = "${pkgs.cacert.unbundled}/etc/ssl/certs/*";
# steam requires system-level config for e.g. firewall or controller support
# TODO: split into steam.nix
programs.steam = lib.mkIf config.sane.programs.steam.enabled {
enable = true;
# not sure if needed: stole this whole snippet from the wiki
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
};
}