mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat: add nixos and hm config
This commit is contained in:
parent
8db7f8a1e9
commit
ffafb4a329
54 changed files with 1282 additions and 0 deletions
0
nixcfgs/modules/home/dev/c.nix
Normal file
0
nixcfgs/modules/home/dev/c.nix
Normal file
11
nixcfgs/modules/home/dev/java.nix
Normal file
11
nixcfgs/modules/home/dev/java.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
jdt-language-server
|
||||
jdk21
|
||||
];
|
||||
programs.vscode.profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||
redhat.java
|
||||
vscjava.vscode-spring-initializr
|
||||
vscjava.vscode-java-pack
|
||||
];
|
||||
}
|
||||
11
nixcfgs/modules/home/dev/nix.nix
Normal file
11
nixcfgs/modules/home/dev/nix.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
alejandra
|
||||
nil
|
||||
nixd
|
||||
];
|
||||
programs.vscode.profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||
kamadorueda.alejandra
|
||||
jnoortheen.nix-ide
|
||||
];
|
||||
}
|
||||
13
nixcfgs/modules/home/dev/python.nix
Normal file
13
nixcfgs/modules/home/dev/python.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
uv
|
||||
ruff
|
||||
];
|
||||
programs.vscode.profiles.default.extensions = with pkgs.vscode-extensions; [
|
||||
ms-python.python
|
||||
ms-python.debugpy
|
||||
ms-python.vscode-pylance
|
||||
charliermarsh.ruff
|
||||
njpwerner.autodocstring
|
||||
];
|
||||
}
|
||||
0
nixcfgs/modules/home/gnome.nix
Normal file
0
nixcfgs/modules/home/gnome.nix
Normal file
7
nixcfgs/modules/home/programs/eza.nix
Normal file
7
nixcfgs/modules/home/programs/eza.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
colors = "always";
|
||||
icons = "always";
|
||||
};
|
||||
}
|
||||
8
nixcfgs/modules/home/programs/fzf.nix
Normal file
8
nixcfgs/modules/home/programs/fzf.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
11
nixcfgs/modules/home/programs/lsd.nix
Normal file
11
nixcfgs/modules/home/programs/lsd.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
programs.lsd = {
|
||||
enable = true;
|
||||
colors = "always";
|
||||
icons = "always";
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
||||
|
||||
6
nixcfgs/modules/home/programs/nvim.nix
Normal file
6
nixcfgs/modules/home/programs/nvim.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
}
|
||||
21
nixcfgs/modules/home/programs/rime.nix
Normal file
21
nixcfgs/modules/home/programs/rime.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
# enabled = "fcitx5"; dep.
|
||||
# enableGtk2 = true;
|
||||
# enableGtk3 = true;
|
||||
type = "fcitx5";
|
||||
fcitx5 = {
|
||||
waylandFrontend = true;
|
||||
addons = with pkgs; [
|
||||
fcitx5-rime
|
||||
kdePackages.fcitx5-configtool
|
||||
kdePackages.fcitx5-qt
|
||||
fcitx5-gtk
|
||||
fcitx5-chinese-addons
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
8
nixcfgs/modules/home/programs/starship.nix
Normal file
8
nixcfgs/modules/home/programs/starship.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
6
nixcfgs/modules/home/programs/vscodium.nix
Normal file
6
nixcfgs/modules/home/programs/vscodium.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
programs.vscode = {
|
||||
package = pkgs.vscodium;
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
6
nixcfgs/modules/home/programs/zed-editor.nix
Normal file
6
nixcfgs/modules/home/programs/zed-editor.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
extensions = ["nix"];
|
||||
};
|
||||
}
|
||||
8
nixcfgs/modules/home/programs/zoxide.nix
Normal file
8
nixcfgs/modules/home/programs/zoxide.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue