move helix as home module, provide option youthlic.programs.helix.

This commit is contained in:
Ulic-youthlic 2025-01-10 16:33:08 +08:00
parent aa4a261a04
commit 445dfe6543
5 changed files with 63 additions and 20 deletions

View file

@ -3,12 +3,12 @@
config,
rootPath,
inputs,
unixName,
...
}:
{
imports = [
./starship
./helix
./fish
./rime-ice.nix
./firefox.nix
@ -17,6 +17,9 @@
./niri
./zed.nix
];
youthlic.programs.helix.enable = true;
xdg.userDirs = {
enable = true;
download = "${config.home.homeDirectory}/dls";
@ -29,8 +32,8 @@
desktop = "${config.home.homeDirectory}/dsk";
createDirectories = true;
};
home.username = "david";
home.homeDirectory = "/home/david";
home.username = "${unixName}";
home.homeDirectory = "/home/${unixName}";
home.stateVersion = "24.11";
programs.home-manager.enable = true;
programs.git = {
@ -61,13 +64,9 @@
dust
qq
telegram-desktop
taplo
ghostty
sops
scrcpy
markdown-oxide
deno
taplo
ast-grep
lazygit
dig