Update to 25.05 and add git-cliff

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2025-05-19 21:25:06 +02:00
parent 9fc0b33228
commit f10feaaddd
8 changed files with 37 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
{
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
profiles.default.extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
@@ -20,7 +20,7 @@
ms-vscode.cpptools
];
userSettings = {
profiles.default.userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";

View File

@@ -0,0 +1,11 @@
{ pkgs, ... }:
{
programs.git-cliff = {
enable = true;
settings = {
trim = true;
};
}
}

View File

@@ -1,6 +1,10 @@
{ pkgs, ... }:
{
imports = [
./cliff.nix
];
programs.git = {
enable = true;
package = pkgs.gitFull;
@@ -13,10 +17,10 @@
signing = {
key = "~/.ssh/id_ed25519.pub";
signByDefault = true;
format = "ssh";
};
extraConfig = {
gpg = { format = "ssh"; };
push = { autoSetupRemote = true; };
pull = { rebase = true; };
fetch = { prune = true; };

View File

@@ -51,7 +51,8 @@
homeDirectory = "/home/noahk";
packages = with pkgs; [
(nerdfonts.override { fonts = [ "SourceCodePro" ]; })
nerd-fonts.sauce-code-pro
nerd-fonts.zed-mono
# Desktop env
discord
@@ -82,5 +83,5 @@
systemd.user.startServices = "sd-switch";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
home.stateVersion = "24.11";
}
home.stateVersion = "25.05";
}