nixos-config/common/config/packages.nix

52 lines
897 B
Nix
Raw Normal View History

2022-05-29 19:15:50 -04:00
{ config, pkgs, emacs-overlay, ... }:
let
# nix-direnv with flake support
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
in {
2022-01-06 21:14:02 -05:00
environment.systemPackages = with pkgs; [
ffmpeg
jq
git
wget
libnotify
ripgrep
unzip
tldr
pandoc
pamixer
brightnessctl
2022-01-06 22:47:39 -05:00
playerctl
2022-01-06 21:14:02 -05:00
screenfetch
gcc
wob
grim
slurp
imv
direnv
nix-direnv-with-flakes
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
nixpkgs.overlays = [ emacs-overlay.overlay ];
services.emacs.enable = true;
2022-05-29 20:08:22 -04:00
services.emacs.package = pkgs.emacsPgtkNativeComp;
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
}