pkgs-in-home #2

Merged
noah.knegt merged 10 commits from pkgs-in-home into main 2025-03-01 14:11:42 +01:00
6 changed files with 77 additions and 15 deletions

View File

@@ -11,6 +11,33 @@
mhutchie.git-graph mhutchie.git-graph
donjayamanne.githistory donjayamanne.githistory
eamodio.gitlens eamodio.gitlens
# Rust plugins
rust-lang.rust-analyzer
tamasfe.even-better-toml
fill-labs.dependi
]; ];
userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "bottom";
"editor.fontFamily" = "Source Code Pro";
# Settings for all files
"files.autoSave" = "off";
# Git settings
"git.autofetch" = true;
"git.confirmSync" = false;
"git.alwaysSignOff" = true;
"git.pruneOnFetch" = true;
# Nix lang settings
"[nix]"."editor.tabSize" = 2;
};
}; };
} }

View File

@@ -22,19 +22,40 @@
fetch = { prune = true; }; fetch = { prune = true; };
}; };
lfs.enable = true;
includes = [ includes = [
{ {
condition = "gitdir:~/git.noahknegt.com"; condition = "gitdir:~/Repos/git.noahknegt.com/";
path = "~/.config/git/git.noahknegt.com.gitconfig";
contents = { contents = {
userEmail = "git@noahknegt.com"; user = {
email = "git@noahknegt.com";
};
commit = {
gpgSign = true;
};
tag = {
gpgSign = true;
};
}; };
} }
{ {
condition = "gitdir:~/open-source"; condition = "gitdir:~/Repos/open-source/";
path = "~/.config/git/open-source.gitconfig";
contents = { contents = {
userEmail = "git@noahknegt.com"; user = {
email = "git@noahknegt.com";
signingKey = "~/.ssh/id_open_source.pub";
};
commit = {
gpgSign = true;
};
tag = {
gpgSign = true;
};
}; };
} }
]; ];

View File

@@ -49,17 +49,28 @@
username = "noahk"; username = "noahk";
homeDirectory = "/home/noahk"; homeDirectory = "/home/noahk";
packages = [ packages = with pkgs; [
(pkgs.nerdfonts.override { fonts = [ "SourceCodePro" ]; }) (nerdfonts.override { fonts = [ "SourceCodePro" ]; })
# Desktop env
discord
spotify
obsidian
vlc
# Security
openvpn
bitwarden-desktop
bitwarden-cli
# Development
gcc
rustup
]; ];
}; };
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
# Add stuff for your user as you see fit:
# programs.neovim.enable = true;
# home.packages = with pkgs; [ steam ];
# Enable home-manager and git # Enable home-manager and git
programs.home-manager.enable = true; programs.home-manager.enable = true;

View File

@@ -5,6 +5,7 @@
./bat.nix ./bat.nix
./eza.nix ./eza.nix
./fzf.nix ./fzf.nix
./jq.nix
./ripgrep.nix ./ripgrep.nix
./tmux.nix ./tmux.nix
]; ];

View File

@@ -0,0 +1,5 @@
{ ... }:
{
programs.jq.enable = true;
}

View File

@@ -123,9 +123,6 @@
papirus-icon-theme papirus-icon-theme
# Menu kind # Menu kind
xfce.xfce4-whiskermenu-plugin xfce.xfce4-whiskermenu-plugin
# Spotify
spotify
]; ];
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default