forgor to stage changes

but git management in vscodium do be fire ngl
This commit is contained in:
martyTF 2025-12-16 16:51:22 +01:00
parent 3d09e64139
commit db5366102b
8 changed files with 22 additions and 37 deletions

View file

@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
{
programs = {
git = {
enable = true;
config = {
init = {
defaultBranch = "main";
};
user = {
email = "marty@marty.tf";
name = "marty";
};
push = {
autoSetupRemote = true;
};
credential.helper = "libsecret";
};
};
};
}

View file

@ -0,0 +1,33 @@
{
config,
lib,
pkgs,
...
}:
let
modules =
if config.networking.hostName == "marty-pc" then
[
./git.nix
./vscodium.nix
]
else if config.networking.hostName == "marty-latitude" then
[
./git.nix
./vscodium.nix
]
else if config.networking.hostName == "marty-server" then
[
./git.nix
]
else
[ ];
in
{
imports = modules;
}

View file

@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
defaultEditor = true;
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
jnoortheen.nix-ide
alefragnani.project-manager
naumovs.color-highlight
geequlim.godot-tools
stylelint.vscode-stylelint
ecmel.vscode-html-css
esbenp.prettier-vscode
];
};
}