Compare commits
10 Commits
f7e6844a5b
...
002775a42a
Author | SHA1 | Date | |
---|---|---|---|
002775a42a
|
|||
b522df0be7
|
|||
7fde87b66f
|
|||
5818af3a11
|
|||
a6696c732c
|
|||
9d3b894b87
|
|||
0ee55c3207
|
|||
c46b008cfb
|
|||
2418736ef0
|
|||
6b0dd1a8ef
|
@@ -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)
|
[home-manager manual](https://nix-community.github.io/home-manager/index.xhtml)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
home-manager switch --flake .#noahk@NixOS_Desktop
|
home-manager switch --flake ".#noahk@NixOS_Desktop"
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo nixos-rebuild switch --flake .#NixOS_Desktop
|
sudo nixos-rebuild switch --flake ".#NixOS_Desktop"
|
||||||
```
|
```
|
||||||
|
@@ -3,6 +3,8 @@
|
|||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.gitFull;
|
||||||
|
|
||||||
delta.enable = true;
|
delta.enable = true;
|
||||||
|
|
||||||
userName = "Noah Knegt";
|
userName = "Noah Knegt";
|
||||||
|
@@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
./IDEs
|
./IDEs
|
||||||
|
|
||||||
|
./tools
|
||||||
|
|
||||||
./git
|
./git
|
||||||
./zsh
|
./zsh
|
||||||
|
|
||||||
./tmux.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -48,8 +48,14 @@
|
|||||||
home = {
|
home = {
|
||||||
username = "noahk";
|
username = "noahk";
|
||||||
homeDirectory = "/home/noahk";
|
homeDirectory = "/home/noahk";
|
||||||
|
|
||||||
|
packages = [
|
||||||
|
(pkgs.nerdfonts.override { fonts = [ "SourceCodePro" ]; })
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
# Add stuff for your user as you see fit:
|
# Add stuff for your user as you see fit:
|
||||||
# programs.neovim.enable = true;
|
# programs.neovim.enable = true;
|
||||||
# home.packages = with pkgs; [ steam ];
|
# home.packages = with pkgs; [ steam ];
|
||||||
|
7
home-manager/tools/bat.nix
Normal file
7
home-manager/tools/bat.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.bat = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
11
home-manager/tools/default.nix
Normal file
11
home-manager/tools/default.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./bat.nix
|
||||||
|
./eza.nix
|
||||||
|
./fzf.nix
|
||||||
|
./ripgrep.nix
|
||||||
|
./tmux.nix
|
||||||
|
];
|
||||||
|
}
|
16
home-manager/tools/eza.nix
Normal file
16
home-manager/tools/eza.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.eza = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
|
||||||
|
colors = "always";
|
||||||
|
icons = "always";
|
||||||
|
git = true;
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
"--group-directories-first"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
9
home-manager/tools/fzf.nix
Normal file
9
home-manager/tools/fzf.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.fzf = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
7
home-manager/tools/ripgrep.nix
Normal file
7
home-manager/tools/ripgrep.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.ripgrep = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
# List of plugins
|
# List of plugins
|
||||||
"ohmyzsh/ohmyzsh path:plugins/extract"
|
"ohmyzsh/ohmyzsh path:plugins/extract"
|
||||||
|
"ohmyzsh/ohmyzsh path:plugins/fzf"
|
||||||
"ohmyzsh/ohmyzsh path:plugins/git"
|
"ohmyzsh/ohmyzsh path:plugins/git"
|
||||||
"ohmyzsh/ohmyzsh path:plugins/git-auto-fetch"
|
"ohmyzsh/ohmyzsh path:plugins/git-auto-fetch"
|
||||||
"ohmyzsh/ohmyzsh path:plugins/gitignore"
|
"ohmyzsh/ohmyzsh path:plugins/gitignore"
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./antidote.nix
|
./antidote.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
|
./zoxide.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
8
home-manager/zsh/zoxide.nix
Normal file
8
home-manager/zsh/zoxide.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.zoxide = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
@@ -5,5 +5,24 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
autosuggestion.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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
@@ -68,15 +68,14 @@
|
|||||||
LC_TIME = "nl_NL.UTF-8";
|
LC_TIME = "nl_NL.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Configure X11
|
||||||
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
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# XFCE
|
||||||
|
displayManager.lightdm.enable = true;
|
||||||
|
desktopManager.xfce.enable = true;
|
||||||
|
|
||||||
xkb.layout = "us";
|
xkb.layout = "us";
|
||||||
xkb.variant = "";
|
xkb.variant = "";
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user