flake/home/applications/nix/default.nix

40 lines
740 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
2024-05-30 17:11:49 +00:00
nixfmt-rfc-style
2024-04-08 10:09:31 +00:00
nix-update
2024-05-30 17:11:49 +00:00
nix-init
2024-04-08 10:09:31 +00:00
# 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
2024-04-22 18:35:50 +00:00
colmena
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
};
};
}