2022-05-29 19:15:50 -04:00
|
|
|
{ config, pkgs, emacs-overlay, ... }:
|
2022-01-11 20:43:40 -05:00
|
|
|
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
|
|
|
|
pamixer
|
2022-03-01 18:40:48 -05:00
|
|
|
brightnessctl
|
2022-01-06 22:47:39 -05:00
|
|
|
playerctl
|
2022-01-06 21:14:02 -05:00
|
|
|
|
|
|
|
gcc
|
|
|
|
|
|
|
|
wob
|
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
imv
|
2022-01-11 20:43:40 -05:00
|
|
|
|
|
|
|
direnv
|
|
|
|
nix-direnv-with-flakes
|
2022-01-06 21:14:02 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.sway.enable = true;
|
|
|
|
programs.sway.extraPackages = [];
|
2022-01-11 20:43:40 -05:00
|
|
|
|
|
|
|
# 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
|
|
|
|
2022-01-11 20:43:40 -05:00
|
|
|
# direnv setup
|
|
|
|
|
|
|
|
nix.extraOptions = ''
|
|
|
|
keep-derivations = true
|
|
|
|
keep-outputs = true
|
|
|
|
'';
|
|
|
|
|
|
|
|
environment.pathsToLink = [ "/share/nix-direnv" ];
|
2022-01-06 21:14:02 -05:00
|
|
|
}
|