init starship on launch
This commit is contained in:
parent
8f33c7157e
commit
03deac14c9
|
@ -63,7 +63,7 @@
|
|||
systems.modules.nixos = with inputs; [
|
||||
home-manager.nixosModules.home-manager
|
||||
nix-ld.nixosModules.nix-ld
|
||||
nixvim.nixosModules.nixvim
|
||||
nixvim.nixosModules.nixvim
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,13 +8,11 @@
|
|||
}:
|
||||
with lib.wyrdgard; {
|
||||
wyrdgard = {
|
||||
apps.cli-apps = {
|
||||
fish = enabled;
|
||||
home-manager = enabled;
|
||||
apps = {
|
||||
kitty = enabled;
|
||||
};
|
||||
|
||||
tools = {
|
||||
git = enabled;
|
||||
direnv = enabled;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -2,11 +2,9 @@
|
|||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
}:
|
||||
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 = {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard; let
|
||||
cfg = config.wyrdgard.tools.git;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -26,8 +26,6 @@ in {
|
|||
relativenumber = true;
|
||||
shiftwidth = 2;
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,11 +14,17 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
wyrdgard.submodules = {
|
||||
basics = enabled;
|
||||
graphical-interface = enabled;
|
||||
games = enabled;
|
||||
socials = enabled;
|
||||
wyrdgard = {
|
||||
submodules = {
|
||||
basics = enabled;
|
||||
graphical-interface = enabled;
|
||||
games = enabled;
|
||||
socials = enabled;
|
||||
};
|
||||
|
||||
apps = {
|
||||
vivaldi = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue