refactor homeModules
This commit is contained in:
parent
0603a85579
commit
4a870d4a18
26 changed files with 126 additions and 65 deletions
46
homeModules/dev.nix
Normal file
46
homeModules/dev.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
self,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./cli.nix
|
||||
./helix.nix
|
||||
self.homeModules.dotfiles
|
||||
self.inputs.direnv-instant.homeModules.direnv-instant
|
||||
self.homeModules.atuin-config
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
delta
|
||||
direnv
|
||||
gh
|
||||
hut
|
||||
jujutsu
|
||||
nix-output-monitor
|
||||
python3
|
||||
radicle-desktop
|
||||
radicle-node
|
||||
radicle-tui
|
||||
typescript-language-server
|
||||
nil # Nix language server
|
||||
nixd
|
||||
nixfmt
|
||||
nixpkgs-review
|
||||
];
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
programs.direnv-instant.enable = true;
|
||||
|
||||
xdg.configFile."direnv/direnv.toml".source = "${config.dotfiles.path}/.config/direnv/direnv.toml";
|
||||
|
||||
xdg.configFile."hut/config".source = "${config.dotfiles.path}/.config/hut/config";
|
||||
home.file.".ssh/config".source = "${config.dotfiles.path}/.ssh/config";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue