flake/home/applications/nix/default.nix

39 lines
733 B
Nix
Raw Normal View History

2023-11-06 11:23:58 +00:00
{pkgs, ...}: {
home.packages = with pkgs; [
2024-04-08 10:09:31 +00:00
# lsp
2023-12-16 07:26:27 +00:00
nil
alejandra
statix
deadnix
2024-04-08 10:09:31 +00:00
# nixpkgs PRs
nixpkgs-fmt
# nixfmt-rfc-style
nix-update
# misc
2024-02-01 23:18:17 +00:00
nh
2023-11-29 10:18:56 +00:00
nix-output-monitor
2024-04-08 10:09:31 +00:00
nix-index
comma
sops
2023-11-06 11:23:58 +00:00
];
2024-04-08 10:09:31 +00:00
# for `nh`
2024-02-04 04:03:57 +00:00
# yes, i know, weird and long path
home.sessionVariables.FLAKE = "/home/guanranwang/Documents/Projects/git-repos/github.com/Guanran928/flake";
2023-11-06 11:23:58 +00:00
### VSCode
programs.vscode = {
2024-02-04 04:03:57 +00:00
extensions = [pkgs.vscode-extensions.jnoortheen.nix-ide];
userSettings.nix = {
enableLanguageServer = true;
serverPath = "nil";
serverSettings.nil = {
2023-11-17 12:00:28 +00:00
formatting.command = ["alejandra"];
nix.flake.autoArchive = true;
};
2023-11-06 11:23:58 +00:00
};
};
}