Add vscodium and direnv to package list
This commit is contained in:
parent
d80551ebb8
commit
84ba28eb8c
|
@ -1,6 +1,44 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
let
|
||||||
|
vscodium-extensions = with pkgs.vscode-extensions;
|
||||||
|
[
|
||||||
|
# Global dev tools (ghc, hlint, cargo) will not be
|
||||||
|
# installed by default; they must be managed
|
||||||
|
# per-package using nix-shell
|
||||||
|
|
||||||
|
# Git extensions
|
||||||
|
pinage404.git-extension-pack
|
||||||
|
|
||||||
|
# Haskell extensions
|
||||||
|
haskell.haskell
|
||||||
|
justusadam.language-haskell
|
||||||
|
hoovercj.haskell-linter
|
||||||
|
|
||||||
|
# Nix extensions
|
||||||
|
pinage404.nix-extension-pack
|
||||||
|
|
||||||
|
# Rust extensions
|
||||||
|
matklad.rust-analyzer
|
||||||
|
wcrichton.flowistry
|
||||||
|
tamasfe.even-better-toml
|
||||||
|
swellaby.vscode-rust-test-adapter
|
||||||
|
|
||||||
|
# Other
|
||||||
|
hbenl.vscode-test-explorer
|
||||||
|
ms-python.python
|
||||||
|
ms-toolsai.jupyter
|
||||||
|
];
|
||||||
|
vscodium-with-extensions = pkgs.vscode-with-extensions.override {
|
||||||
|
vscode = pkgs.vscodium;
|
||||||
|
vscodeExtensions = vscodium-extensions;
|
||||||
|
};
|
||||||
|
|
||||||
|
# nix-direnv with flake support
|
||||||
|
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
|
||||||
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
vscodium-with-extensions
|
||||||
|
|
||||||
ffmpeg
|
ffmpeg
|
||||||
jq
|
jq
|
||||||
git
|
git
|
||||||
|
@ -15,15 +53,29 @@
|
||||||
screenfetch
|
screenfetch
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
rustup
|
|
||||||
idris2
|
|
||||||
|
|
||||||
wob
|
wob
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
imv
|
imv
|
||||||
|
|
||||||
|
direnv
|
||||||
|
nix-direnv-with-flakes
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.sway.enable = true;
|
programs.sway.enable = true;
|
||||||
programs.sway.extraPackages = [];
|
programs.sway.extraPackages = [];
|
||||||
|
|
||||||
|
# Necessary for VSCodium to store passwords
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
# direnv setup
|
||||||
|
|
||||||
|
nix.extraOptions = ''
|
||||||
|
keep-derivations = true
|
||||||
|
keep-outputs = true
|
||||||
|
'';
|
||||||
|
|
||||||
|
environment.pathsToLink = [ "/share/nix-direnv" ];
|
||||||
}
|
}
|
||||||
|
|
0
common/home-manager/wayland/swaylock.nix
Executable file → Normal file
0
common/home-manager/wayland/swaylock.nix
Executable file → Normal file
Loading…
Reference in a new issue