Refactor config to merge modules from platforms
This commit is contained in:
parent
a3eecd7007
commit
0c4ce3e936
32 changed files with 95 additions and 116 deletions
52
config/packages.nix
Normal file
52
config/packages.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
# nix-direnv with flake support
|
||||
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
ffmpeg
|
||||
jq
|
||||
git
|
||||
wget
|
||||
libnotify
|
||||
ripgrep
|
||||
unzip
|
||||
tldr
|
||||
pamixer
|
||||
brightnessctl
|
||||
playerctl
|
||||
|
||||
pandoc
|
||||
gnuplot
|
||||
graphviz
|
||||
(aspellWithDicts (ps: with ps; [ en en-computers en-science ]))
|
||||
|
||||
gcc
|
||||
wob
|
||||
grim
|
||||
slurp
|
||||
imv
|
||||
|
||||
direnv
|
||||
nix-direnv-with-flakes
|
||||
];
|
||||
|
||||
programs.sway.enable = true;
|
||||
programs.sway.extraPackages = [];
|
||||
|
||||
# Necessary for VSCodium to store passwords
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
|
||||
services.emacs.enable = true;
|
||||
services.emacs.package = pkgs.emacs28-gtk;
|
||||
|
||||
# direnv setup
|
||||
|
||||
nix.extraOptions = ''
|
||||
keep-derivations = true
|
||||
keep-outputs = true
|
||||
'';
|
||||
|
||||
environment.pathsToLink = [ "/share/nix-direnv" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue