initial
This commit is contained in:
17
modules/home/alacritty.nix
Normal file
17
modules/home/alacritty.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ ... }: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
# custom settings
|
||||
settings = {
|
||||
env.TERM = "alacritty";
|
||||
font = { size = 18; };
|
||||
window = {
|
||||
opacity = 1.0;
|
||||
padding.x = 50;
|
||||
padding.y = 50;
|
||||
};
|
||||
scrolling.multiplier = 5;
|
||||
selection.save_to_clipboard = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
6
modules/home/bash.nix
Normal file
6
modules/home/bash.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
};
|
||||
}
|
||||
32
modules/home/fish.nix
Normal file
32
modules/home/fish.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
shellInit = ''
|
||||
set -gx PNPM_HOME $HOME/.local/share/pnpm
|
||||
fish_add_path $PNPM_HOME
|
||||
set -gx OPENSSL_DIR ${pkgs.openssl.dev};
|
||||
set -gx KUBECONFIG $HOME/.kube/config;
|
||||
set -gx OPENSSL_LIB_DIR ${pkgs.openssl.out}/lib;
|
||||
set -gx OPENSSL_INCLUDE_DIR ${pkgs.openssl.dev}/include;
|
||||
set -gx PKG_CONFIG_PATH ${pkgs.openssl.dev}/lib/pkgconfig;
|
||||
alias vi="nvim"
|
||||
'';
|
||||
plugins = [
|
||||
# Enable a plugin (here grc for colorized command output) from nixpkgs
|
||||
{
|
||||
name = "grc";
|
||||
src = pkgs.fishPlugins.grc.src;
|
||||
}
|
||||
# Manually packaging and enable a plugin
|
||||
{
|
||||
name = "z";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jethrokuan";
|
||||
repo = "z";
|
||||
rev = "e0e1b9dfdba362f8ab1ae8c1afc7ccf62b89f7eb";
|
||||
sha256 = "0dbnir6jbwjpjalz14snzd3cgdysgcs3raznsijd6savad3qhijc";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
15
modules/home/git.nix
Normal file
15
modules/home/git.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "minco";
|
||||
userEmail = "mail@drchi.co.kr";
|
||||
extraConfig = {
|
||||
credential.helper = "store";
|
||||
credential.credentialStore = "store";
|
||||
init.defaultBranch = "main";
|
||||
core.editor = "nvim";
|
||||
};
|
||||
};
|
||||
}
|
||||
6
modules/home/neovim.nix
Normal file
6
modules/home/neovim.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
extraConfig = "";
|
||||
};
|
||||
}
|
||||
10
modules/home/obs.nix
Normal file
10
modules/home/obs.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-backgroundremoval
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
}
|
||||
12
modules/home/starship.nix
Normal file
12
modules/home/starship.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ ... }: {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
# custom settings
|
||||
settings = {
|
||||
add_newline = false;
|
||||
aws.disabled = true;
|
||||
gcloud.disabled = true;
|
||||
line_break.disabled = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user