nixos-config/config/packages.nix

89 lines
2.2 KiB
Nix
Raw Permalink Normal View History

2024-11-04 16:16:40 -05:00
{ pkgs, lib, macos-hyprcursor-src, ... }:
let
macos-hyprcursor = pkgs.stdenv.mkDerivation {
name = "macos-hyprcursor";
src = macos-hyprcursor-src;
installPhase = ''
mkdir -p $out/share/icons
cp -R themes/SVG/"macOS (SVG)" $out/share/icons/macos
'';
};
in {
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
brightnessctl
2022-01-06 22:47:39 -05:00
playerctl
2024-07-26 05:47:14 -04:00
pamixer
ffmpeg
2024-11-04 16:16:40 -05:00
macos-hyprcursor
2024-07-26 05:47:14 -04:00
# 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
texlive.combined.scheme-full
2024-06-13 16:29:14 -04:00
aspell'
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;
programs.sway.extraPackages = lib.mkForce [];
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;
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
}