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;
|
||||
};
|
||||
};
|
||||
}
|
||||
62
modules/ld.nix
Normal file
62
modules/ld.nix
Normal file
@@ -0,0 +1,62 @@
|
||||
{ pkgs }:
|
||||
|
||||
with pkgs; [
|
||||
alsa-lib
|
||||
at-spi2-atk
|
||||
at-spi2-core
|
||||
libz
|
||||
atk
|
||||
cairo
|
||||
cups
|
||||
curl
|
||||
dbus
|
||||
expat
|
||||
fontconfig
|
||||
freetype
|
||||
fuse3
|
||||
zlib.dev
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gtk3
|
||||
icu
|
||||
wayland
|
||||
libGL
|
||||
libGLU
|
||||
glfw
|
||||
glew
|
||||
libappindicator-gtk3
|
||||
libopus
|
||||
libdrm
|
||||
libglvnd
|
||||
libnotify
|
||||
libpulseaudio
|
||||
libunwind
|
||||
libusb1
|
||||
libuuid
|
||||
libxkbcommon
|
||||
libxml2
|
||||
mesa
|
||||
nspr
|
||||
nss
|
||||
openssl
|
||||
pango
|
||||
pipewire
|
||||
stdenv.cc.cc
|
||||
systemd
|
||||
vulkan-loader
|
||||
xorg.libX11
|
||||
xorg.libXScrnSaver
|
||||
xorg.libXcomposite
|
||||
xorg.libXcursor
|
||||
xorg.libXdamage
|
||||
xorg.libXext
|
||||
xorg.libXfixes
|
||||
xorg.libXi
|
||||
xorg.libXrandr
|
||||
xorg.libXrender
|
||||
xorg.libXtst
|
||||
xorg.libxcb
|
||||
xorg.libxkbfile
|
||||
xorg.libxshmfence
|
||||
zlib
|
||||
]
|
||||
Reference in New Issue
Block a user