Separate out coding software configurations
This commit is contained in:
parent
65bac6adaf
commit
0293eceb2a
2 changed files with 27 additions and 10 deletions
26
coding.nix
Normal file
26
coding.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [pkgs.vscode];
|
||||
|
||||
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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
./hardware.nix
|
||||
./networking.nix
|
||||
./users.nix
|
||||
./coding.nix
|
||||
];
|
||||
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
|
@ -13,11 +14,8 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nano
|
||||
git
|
||||
lshw
|
||||
firefox
|
||||
vscode
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
|
|
@ -36,12 +34,5 @@
|
|||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
|
||||
programs.nano = {
|
||||
nanorc = ''
|
||||
set autoindent
|
||||
set linenumbers
|
||||
'';
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue