init starship on launch

This commit is contained in:
christoph.hollizeck 2024-03-27 14:23:25 +01:00
parent 8f33c7157e
commit 03deac14c9
9 changed files with 22 additions and 31 deletions

View file

@ -8,13 +8,11 @@
}:
with lib.wyrdgard; {
wyrdgard = {
apps.cli-apps = {
fish = enabled;
home-manager = enabled;
apps = {
kitty = enabled;
};
tools = {
git = enabled;
direnv = enabled;
};
};

View file

@ -22,7 +22,10 @@ in {
programs = {
fish = {
enable = true;
shellInit = "zoxide init fish | source";
shellInit = "
zoxide init fish | source
starship init fish | source
";
shellAliases = {
vim = "nvim";
ls = "colorls --gs";

View file

@ -4,9 +4,7 @@
...
}:
with lib;
with lib.wyrdgard;
let
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.cli-apps.home-manager;
in {
options.wyrdgard.apps.cli-apps.home-manager = {

View file

@ -10,7 +10,7 @@ with lib.wyrdgard; let
cfg = config.wyrdgard.apps._1password;
in {
options.wyrdgard.apps._1password = with types; {
enable = mkBoolOpt false "Enable 1Password";
enable = mkBoolOpt true "Enable 1Password";
};
config = mkIf cfg.enable {

View file

@ -26,8 +26,6 @@ in {
relativenumber = true;
shiftwidth = 2;
};
};
};
}

View file

@ -14,11 +14,17 @@ in {
};
config = mkIf cfg.enable {
wyrdgard.submodules = {
wyrdgard = {
submodules = {
basics = enabled;
graphical-interface = enabled;
games = enabled;
socials = enabled;
};
apps = {
vivaldi = enabled;
};
};
};
}

View file

@ -9,7 +9,6 @@ with lib.wyrdgard; {
imports = [./hardware.nix];
environment.systemPackages = with pkgs; [
filelight
];
# nvidia
@ -36,9 +35,6 @@ with lib.wyrdgard; {
};
apps = {
cli-apps = {
fish = enabled;
};
vivaldi = enabled;
discord = enabled;
_1password = enabled;
@ -48,13 +44,5 @@ with lib.wyrdgard; {
services.xserver.videoDrivers = ["nvidia"];
services.xserver.displayManager.sddm.wayland.enable = lib.mkForce false;
# Configure Home-Manager options from NixOS.
snowfallorg.user.cholli.home.config = {
programs.kitty = {
theme = "Tokyo Night";
shellIntegration.enableFishIntegration = true;
};
};
system.stateVersion = "23.11";
}