nix: add nh

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent 58516de8e7
commit 2bc3ac5dce
2 changed files with 20 additions and 9 deletions

7
nix/modules/firefox.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
programs.firefox = {
enable = true;
};
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs }: { config, lib, pkgs, ...}:
{ {
programs.zsh.enable = true; programs.zsh.enable = true;
@ -18,8 +18,20 @@
ffmpeg ffmpeg
imagemagick imagemagick
# cant feed these into neovim any other way
cargo
nodejs
go
nodejs_22
gcc
]; ];
programs.nh = {
enable = true;
flake = "/home/nico/dots/nix";
};
programs.direnv = { programs.direnv = {
enable = true; enable = true;
silent = true; silent = true;
@ -39,12 +51,4 @@
withPython3 = true; withPython3 = true;
withNodeJs = true; withNodeJs = true;
}; };
neovim = pkgs.neovim.override {
nativeBuildInputs = with pkgs; [
cargo
nodejs
go
];
};
} }