nixos-config/config/packages.nix

56 lines
1,013 B
Nix
Raw Normal View History

2023-05-15 10:48:22 -04:00
{ config, pkgs, nixpkgs, ... }:
let
# nix-direnv with flake support
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
2023-05-15 10:48:22 -04:00
emacs29 = pkgs.emacs29.override {
2023-05-15 10:48:22 -04:00
withPgtk = true;
withWebP = true;
withSQLite3 = true;
};
in {
2022-01-06 21:14:02 -05:00
environment.systemPackages = with pkgs; [
ffmpeg
jq
git
wget
libnotify
ripgrep
unzip
tldr
pamixer
brightnessctl
2022-01-06 22:47:39 -05:00
playerctl
2022-01-06 21:14:02 -05:00
2022-10-21 09:19:25 -04:00
pandoc
gnuplot
graphviz
2022-10-26 15:54:00 -04:00
(aspellWithDicts (ps: with ps; [ en en-computers en-science ]))
2022-01-06 21:14:02 -05:00
2022-10-21 09:19:25 -04:00
gcc
direnv
nix-direnv-with-flakes
2022-01-06 21:14:02 -05:00
];
2023-05-15 10:47:52 -04:00
programs.fish.enable = true;
2022-01-06 21:14:02 -05:00
programs.sway.enable = true;
programs.sway.extraPackages = [];
# Necessary for VSCodium to store passwords
services.gnome.gnome-keyring.enable = true;
2022-05-29 19:15:50 -04:00
services.emacs.enable = true;
2023-05-15 10:48:22 -04:00
services.emacs.package = emacs29;
2022-05-29 19:15:50 -04:00
# direnv setup
nix.extraOptions = ''
keep-derivations = true
keep-outputs = true
'';
environment.pathsToLink = [ "/share/nix-direnv" ];
2022-01-06 21:14:02 -05:00
}