2024-06-18 22:20:22 -04:00
|
|
|
{ config, pkgs, lib, ... }:
|
2024-01-13 14:13:05 -05:00
|
|
|
{
|
2024-06-13 16:29:14 -04:00
|
|
|
environment.systemPackages = with pkgs;
|
|
|
|
let aspell' = aspellWithDicts.override {
|
|
|
|
aspell = aspell.overrideAttrs (super: {
|
|
|
|
postInstall = super.postInstall + ''
|
|
|
|
mkdir -p $out/etc
|
|
|
|
cat > $out/etc/aspell.conf << EOF
|
|
|
|
lang en_US
|
|
|
|
add-extra-dicts en-computers.rws
|
|
|
|
add-extra-dicts en_US-science.rws
|
|
|
|
EOF
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
} (ps: with ps; [ en en-computers en-science ]);
|
|
|
|
in [
|
2024-07-26 05:47:14 -04:00
|
|
|
# Shell
|
2024-05-11 19:17:30 -04:00
|
|
|
socat
|
2024-07-26 05:47:14 -04:00
|
|
|
jaq
|
|
|
|
tldr
|
2022-01-06 21:14:02 -05:00
|
|
|
ripgrep
|
|
|
|
unzip
|
2024-07-26 05:47:14 -04:00
|
|
|
|
|
|
|
# Wayland
|
2022-03-01 18:40:48 -05:00
|
|
|
brightnessctl
|
2022-01-06 22:47:39 -05:00
|
|
|
playerctl
|
2024-07-26 05:47:14 -04:00
|
|
|
pamixer
|
|
|
|
ffmpeg
|
|
|
|
|
|
|
|
# System management
|
|
|
|
htop-vim
|
|
|
|
openssl
|
|
|
|
libnotify
|
|
|
|
inotify-tools
|
2022-01-06 21:14:02 -05:00
|
|
|
|
2024-07-26 05:47:14 -04:00
|
|
|
# Programming
|
|
|
|
gcc
|
|
|
|
git
|
2022-10-21 09:19:25 -04:00
|
|
|
pandoc
|
2023-10-27 15:06:10 -04:00
|
|
|
texlive.combined.scheme-full
|
2024-06-13 16:29:14 -04:00
|
|
|
aspell'
|
2024-07-26 05:50:45 -04:00
|
|
|
nixd
|
2024-07-26 05:47:14 -04:00
|
|
|
|
|
|
|
gnuplot
|
|
|
|
graphviz
|
2022-01-06 21:14:02 -05:00
|
|
|
];
|
|
|
|
|
2024-06-13 16:29:14 -04:00
|
|
|
|
2024-02-09 17:17:48 -05:00
|
|
|
programs.hyprland.enable = true;
|
2024-05-14 01:39:50 -04:00
|
|
|
security.pam.services.hyprlock = {};
|
2024-02-09 17:17:48 -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;
|
2024-07-26 05:50:45 -04:00
|
|
|
programs.sway.extraPackages = lib.mkForce [];
|
2022-01-11 20:43:40 -05:00
|
|
|
|
2022-05-29 19:15:50 -04:00
|
|
|
services.emacs.enable = true;
|
2024-03-20 01:04:50 -04:00
|
|
|
services.emacs.package = with pkgs;
|
|
|
|
(emacsPackagesFor (pkgs.emacs29.override { withPgtk = true; }))
|
|
|
|
.emacsWithPackages (epkgs: [ epkgs.vterm ]);
|
2022-05-29 19:15:50 -04:00
|
|
|
|
2024-01-13 13:56:07 -05:00
|
|
|
programs.direnv.enable = true;
|
|
|
|
programs.direnv.nix-direnv.enable = true;
|
|
|
|
programs.direnv.silent = true;
|
2022-01-11 20:43:40 -05:00
|
|
|
|
|
|
|
nix.extraOptions = ''
|
|
|
|
keep-derivations = true
|
|
|
|
keep-outputs = true
|
|
|
|
'';
|
2024-06-18 22:20:22 -04:00
|
|
|
|
|
|
|
# WLuma
|
|
|
|
|
|
|
|
# services.udev.extraRules = let core = exe: lib.getExe' pkgs.coreutils exe; in ''
|
|
|
|
# ACTION=="add", SUBSYSTEM=="backlight", RUN+="${core "chgrp"} video /sys/class/backlight/%k/brightness"
|
|
|
|
# ACTION=="add", SUBSYSTEM=="backlight", RUN+="${core "chmod"} g+w /sys/class/backlight/%k/brightness"
|
|
|
|
# ACTION=="add", SUBSYSTEM=="leds", RUN+="${core "chgrp"} video /sys/class/leds/%k/brightness"
|
|
|
|
# ACTION=="add", SUBSYSTEM=="leds", RUN+="${core "chmod"} g+w /sys/class/leds/%k/brightness"
|
|
|
|
# '';
|
2022-01-06 21:14:02 -05:00
|
|
|
}
|