Files
nixos/coding.nix
2024-06-20 23:34:45 -07:00

36 lines
656 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
cargo
rustc
rustfmt
(vscode-with-extensions.override {
vscodeExtensions = import ./vscode-extensions.nix { inherit pkgs; };
})
];
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];
}