Files
nixos/coding.nix

46 lines
990 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
rustup
(vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [
bbenoist.nix
ms-python.python
ms-python.vscode-pylance
rust-lang.rust-analyzer
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "openscad-language-support";
publisher = "Leathong";
version = "1.2.3";
sha256 = "2wvlvjHRayf9FmaDZMpiReZ99fvdtANGFst9WfMRCLQ=";
}
];
})
];
programs = {
git = {
enable = true;
lfs.enable = true;
config = {
init.defaultBranch = "master";
user = {
email = "git@nettika.cat";
name = "Nettika";
};
credential.helper = "store";
};
};
nano = {
enable = true;
nanorc = ''
set autoindent
set linenumbers
'';
};
};
fonts.packages = [pkgs.fira-code];
}