This commit is contained in:
Ivan Dimitrov 2024-04-17 16:19:47 +03:00
parent 8bfa3f9bba
commit 898826b7d3
5 changed files with 62 additions and 45 deletions

View File

@ -1,7 +1,32 @@
{ system, pkgs, home-manager, modules, nid, ... }: { system, pkgs, home-manager, modules, nid, ... }:
let let
ivand-programs = with modules.home.programs; [ nvim zsh tmux git chromium firefox kitty lf obs-studio sway swaylock browserpass bottom gpg comma nushell waybar tealdeer pueue ]; ivand-programs = with modules.home.programs; [
ivand-packages = with modules.home.packages; [ dev essential media ]; nvim
zsh
tmux
git
chromium
firefox
kitty
lf
obs-studio
sway
swaylock
browserpass
bottom
gpg
comma
nushell
waybar
tealdeer
pueue
starship
];
ivand-packages = with modules.home.packages; [
dev
essential
media
];
in in
{ {
ivand = home-manager.lib.homeManagerConfiguration { ivand = home-manager.lib.homeManagerConfiguration {

View File

@ -15,6 +15,7 @@
nushell = import ./nushell; nushell = import ./nushell;
obs-studio = import ./obs-studio { inherit pkgs; }; obs-studio = import ./obs-studio { inherit pkgs; };
pueue = import ./pueue; pueue = import ./pueue;
starship = import ./starship;
sway = import ./sway { inherit pkgs; }; sway = import ./sway { inherit pkgs; };
swaylock = import ./swaylock; swaylock = import ./swaylock;
tealdeer = import ./tealdeer; tealdeer = import ./tealdeer;

View File

@ -1,6 +1,5 @@
{ {
programs = { programs.nushell = {
nushell = {
enable = true; enable = true;
environmentVariables = { environmentVariables = {
config = ''{ config = ''{
@ -33,9 +32,4 @@
} }
''; '';
}; };
starship = {
enable = true;
enableNushellIntegration = true;
};
};
} }

View File

@ -0,0 +1,12 @@
{
programs.starship = {
enable = true;
enableNushellIntegration = true;
enableZshIntegration = true;
settings = {
sudo = {
disabled = false;
};
};
};
}

View File

@ -31,20 +31,5 @@
history = { history = {
expireDuplicatesFirst = true; expireDuplicatesFirst = true;
}; };
plugins = [
{
name = "zsh-powerlevel10k";
src = "${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k";
file = "powerlevel10k.zsh-theme";
}
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = "${pkgs.zsh-nix-shell}/share/zsh-nix-shell";
}
];
initExtra = ''
source "$HOME/.p10k.zsh"
'';
}; };
} }