From ddd6e973d651b9d9c4d160c8ebb288daa071e259 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Mon, 20 Jan 2025 20:49:03 -0500 Subject: Updated Thinkpad config to latest, updated all packages, updated docker compose, changed nixGL to make hyprland work again, now using bash with starship config --- home-config/nix-home-manager/home.nix | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'home-config/nix-home-manager/home.nix') diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix index 5e85304..4c889c9 100644 --- a/home-config/nix-home-manager/home.nix +++ b/home-config/nix-home-manager/home.nix @@ -15,6 +15,9 @@ home.username = "ryan"; home.homeDirectory = "/home/ryan"; + # Ignore news + news.display = "silent"; + # This value determines the Home Manager release that your configuration is # compatible with. This helps avoid breakage when a new Home Manager release # introduces backwards incompatible changes. @@ -344,6 +347,22 @@ }; }; + programs.starship = { + enable = true; + settings = { + add_newline = false; + character = { + success_symbol = "[➜](bold green)"; + error_symbol = "[➜](bold red)"; + }; + time = { + disabled = false; + format = "\[ $time \]($style)"; + time_format = "%T"; + }; + }; + }; + # The home.packages option allows you to install Nix packages into your # environment. home.packages = with pkgs; [ @@ -377,13 +396,14 @@ #latest.firefox-nightly-bin eza wl-mirror + starship # Wrapped programs for some env variables - (pkgs.writeScriptBin "hyprlock" '' - #! ${pkgs.bash}/bin/bash - export LD_PRELOAD="/run/current-system/profile/lib/libpam.so.0:/run/current-system/profile/lib/libfontconfig.so:$LD_PRELOAD" - exec ${pkgs.hyprlock}/bin/hyprlock "$@" - '') + # (pkgs.writeScriptBin "hyprlock" '' + # #! ${pkgs.bash}/bin/bash + # export LD_PRELOAD="/run/current-system/profile/lib/libpam.so.0:/run/current-system/profile/lib/libfontconfig.so:$LD_PRELOAD" + # exec ${pkgs.hyprlock}/bin/hyprlock "$@" + # '') # Flakes specific things defined in flake.nix hyprland.packages.${pkgs.system}.default -- cgit v1.2.3