This commit is contained in:
2026-03-23 23:30:03 +09:00
parent 52d1d2db18
commit 12c8cc4d69
14 changed files with 346 additions and 59 deletions

30
home/alacritty.nix Normal file
View File

@@ -0,0 +1,30 @@
{ config, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
scrolling = {
history = 10000;
multiplier = 5;
};
font = {
size = 14;
normal = {
family = "0xProto Nerd Font Mono";
style = "Regular";
};
bold = {
family = "0xProto Nerd Font Mono";
style = "Bold";
};
italic = {
family = "0xProto Nerd Font Mono";
style = "Italic";
};
};
window = {
opacity = 0.8;
};
};
};
}

6
home/browser.nix Normal file
View File

@@ -0,0 +1,6 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
firefox
];
}

9
home/cads.nix Normal file
View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
kicad
openscad
freecad
librecad
];
}

View File

@@ -31,7 +31,41 @@
];
};
programs.git = {
enable = true;
settings = {
core = {
fileMode = false;
editor = "vim";
whitespace = "tabwidth=4,trailing-space,space-before-tab";
};
credential."https://git.kenryu.us".username = "kenryuS";
user = {
name = "Kenryu Shibata";
email = "kenryudev5894@gmail.com";
};
};
};
programs.gitui = {
enable = true;
};
programs.gh = {
enable = true;
extensions = with pkgs; [
gh-f
gh-eco
gh-notify
gh-poi
];
settings = {
editor = "vim";
prompt = true;
pager = "bat";
browser = "firefox";
color_labels = true;
git_protocol = "ssh";
};
};
}

View File

@@ -4,8 +4,16 @@ let
in
{
imports = [
./alacritty.nix
./browser.nix
./cads.nix
./cmd_tools.nix
./i3.nix
./media.nix
./tmux.nix
./vim.nix
./zed.nix
./zsh.nix
];
home = {

View File

@@ -20,7 +20,7 @@ in
color_good = "#00FF00";
color_degraded = "#00FFFF";
color_bad = "#FF0000";
separator = "]["
separator = "][";
};
modules = {
"time" = {
@@ -44,7 +44,7 @@ in
decimals = "1";
unit = "Mi";
format = "%available (%used) / %total";
format = "Mem LOW (%available)"
format_degraded = "Mem LOW (%available)";
threshold_degraded = "10%";
threshold_critical = "6.25%";
};
@@ -53,7 +53,7 @@ in
position = 4;
settings = {
prefix_type = "decimal";
format = "/ %percentage_used"
format = "/ %percentage_used";
};
};
"volume master" = {
@@ -83,8 +83,8 @@ in
menu = MENU;
terminal = TERM;
workspaceLayout = "tabbed";
gamps = {
smartBorders = true;
gaps = {
smartBorders = "on";
smartGaps = true;
inner = 10;
};

View File

@@ -1,9 +1,11 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
home.packages = with pkgs; [
mpv
vlc
ffmpeg
kdenlive
kdePackages.kdenlive
gimp
inkscape
];
}

64
home/zed.nix Normal file
View File

@@ -0,0 +1,64 @@
{ config, pkgs, lib, ... }:
{
programs.zed-editor = {
enable = true;
extensions = [
"awk"
"assembly"
"bison"
"dockerfile"
"docker-compose"
"gruvbox-material-neovim"
"haskell"
"html-snippets"
"htmx-lsp"
"ini"
"javascript-snippets"
"jq"
"julia"
"lua"
"make"
"markdownlint"
"nix"
"rust-snippets"
"toml"
];
extraPackages = with pkgs; [
clang-tools
rustfmt
nil
];
userSettings = {
features = {
copilot = false;
};
telemetry = {
metrics = false;
};
autosave = {
after_delay = { milliseconds = 30000; };
};
disable_ai = true;
auto_update = false;
vim_mode = true;
tab_size = 4;
preferred_line_length = 80;
minimap = {
show = "always";
thumb = "always";
current_line_highlight = "line";
};
buffer_font_size = 16;
buffer_font_family = "0xProto Nerd Font Mono";
ui_font_size = 14;
cursor_shape = "block";
format_on_save = "off";
terminal = {
blinking = "on";
font_family = "Moralerspace Argon";
font_size = 14;
scroll_multiplier = 5.0;
};
};
};
}

14
home/zsh.nix Normal file
View File

@@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
programs.zsh = {
enable = true;
history = {
extended = true;
expireDuplicatesFirst = true;
ignoreSpace = true;
size = 100;
};
syntaxHighlighting.enable = true;
defaultKeymap = "vicmd";
};
}