Compare commits

...

10 Commits

Author SHA1 Message Date
002775a42a Install nerdfonts source code pro 2025-02-28 21:44:39 +01:00
b522df0be7 Clean up XFCE and install nerdfonts 2025-02-28 19:18:08 +01:00
7fde87b66f Use correct alias for ripgrep 2025-02-28 19:13:49 +01:00
5818af3a11 Add tools in a tools dir 2025-02-28 19:11:16 +01:00
a6696c732c Use full git version 2025-02-28 19:07:15 +01:00
9d3b894b87 Add fzf 2025-02-28 19:03:26 +01:00
0ee55c3207 Always append to the history of zsh 2025-02-28 19:01:46 +01:00
c46b008cfb Add fzf package 2025-02-28 19:01:32 +01:00
2418736ef0 Update readme commands 2025-02-28 19:01:15 +01:00
6b0dd1a8ef Add zoxide 2025-02-28 18:57:16 +01:00
14 changed files with 98 additions and 12 deletions

View File

@@ -5,9 +5,9 @@ This repo contains all the tools to correctly setup all the needed tools on a ma
[home-manager manual](https://nix-community.github.io/home-manager/index.xhtml)
```sh
home-manager switch --flake .#noahk@NixOS_Desktop
home-manager switch --flake ".#noahk@NixOS_Desktop"
```
```sh
sudo nixos-rebuild switch --flake .#NixOS_Desktop
sudo nixos-rebuild switch --flake ".#NixOS_Desktop"
```

View File

@@ -3,6 +3,8 @@
{
programs.git = {
enable = true;
package = pkgs.gitFull;
delta.enable = true;
userName = "Noah Knegt";

View File

@@ -17,10 +17,10 @@
./IDEs
./tools
./git
./zsh
./tmux.nix
];
nixpkgs = {
@@ -48,8 +48,14 @@
home = {
username = "noahk";
homeDirectory = "/home/noahk";
packages = [
(pkgs.nerdfonts.override { fonts = [ "SourceCodePro" ]; })
];
};
fonts.fontconfig.enable = true;
# Add stuff for your user as you see fit:
# programs.neovim.enable = true;
# home.packages = with pkgs; [ steam ];

View File

@@ -0,0 +1,7 @@
{ pkgs, inputs, ... }:
{
programs.bat = {
enable = true;
};
}

View File

@@ -0,0 +1,11 @@
{ ... }:
{
imports = [
./bat.nix
./eza.nix
./fzf.nix
./ripgrep.nix
./tmux.nix
];
}

View File

@@ -0,0 +1,16 @@
{ pkgs, inputs, ... }:
{
programs.eza = {
enable = true;
enableZshIntegration = true;
colors = "always";
icons = "always";
git = true;
extraOptions = [
"--group-directories-first"
];
};
}

View File

@@ -0,0 +1,9 @@
{ pkgs, inputs, ... }:
{
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
}

View File

@@ -0,0 +1,7 @@
{ pkgs, inputs, ... }:
{
programs.ripgrep = {
enable = true;
};
}

View File

@@ -21,6 +21,7 @@
# List of plugins
"ohmyzsh/ohmyzsh path:plugins/extract"
"ohmyzsh/ohmyzsh path:plugins/fzf"
"ohmyzsh/ohmyzsh path:plugins/git"
"ohmyzsh/ohmyzsh path:plugins/git-auto-fetch"
"ohmyzsh/ohmyzsh path:plugins/gitignore"

View File

@@ -4,6 +4,7 @@
imports = [
./antidote.nix
./starship.nix
./zoxide.nix
./zsh.nix
];
}

View File

@@ -0,0 +1,8 @@
{ pkgs, inputs, ... }:
{
programs.zoxide = {
enable = true;
enableZshIntegration = true;
};
}

View File

@@ -5,5 +5,24 @@
enable = true;
autosuggestion.enable = true;
enableCompletion = true;
history = {
append = true;
};
shellAliases = {
ls = "eza";
ll = "eza -lh";
lal = "eza -lah";
cd = "z";
grep = "rg";
cat = "bat";
less = "bat --pager=less";
};
};
}

View File

@@ -68,15 +68,14 @@
LC_TIME = "nl_NL.UTF-8";
};
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the XFCE Desktop Environment.
services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.xfce.enable = true;
# Configure keymap in X11
# Configure X11
services.xserver = {
enable = true;
# XFCE
displayManager.lightdm.enable = true;
desktopManager.xfce.enable = true;
xkb.layout = "us";
xkb.variant = "";
};