37 lines
664 B
Nix
37 lines
664 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
cargo
|
|
rustc
|
|
rustfmt
|
|
gcc
|
|
(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];
|
|
}
|