Migrate penguin to use nix

This commit is contained in:
2025-08-31 01:17:48 +08:00
parent c594ff128f
commit 5ab0a414a6
6 changed files with 50 additions and 36 deletions

View File

@@ -344,7 +344,7 @@ in
};
project-nvim = {
enable = true;
enable = false;
enableTelescope = true;
};
web-devicons.enable = true;

View File

@@ -15,6 +15,7 @@ in
};
config = mkIf cfg.enable {
home.shell.enableNushellIntegration = true;
programs = {
nushell = {
enable = true;
@@ -22,7 +23,15 @@ in
$env.config.edit_mode = "vi"
$env.config.buffer_editor = "nvim"
$env.config.show_banner = false
'';
'';
shellAliases = {
lg = "lazygit";
js = "jj status";
jd = "jj diff";
jn = "jj new";
jf = "jj git fetch";
jp = "jj git push";
};
};
nix-your-shell = {
enable = true;

View File

@@ -29,7 +29,7 @@ in
users.users = {
yadunut = lib.snowfall.mkUser {
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
shell = pkgs.nushell;
hashedPassword = "$y$j9T$9ATrmrhedhb.mAZ4//PiN/$OStCOaJHt3kPA63imTG3zLMWCSLoWCUph5O6jl5mcZ.";
};
root = lib.snowfall.mkUser {