From f4faa709c0ff772fb9f33f6d94b0ef03f3678762 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 13 Apr 2023 02:52:50 -0400 Subject: add wslu to glados-wsl & add catppuccin theme to starship --- hosts/glados-wsl/default.nix | 5 +++++ users/seth/shell/default.nix | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix index cb0854e..2ba4190 100644 --- a/hosts/glados-wsl/default.nix +++ b/hosts/glados-wsl/default.nix @@ -1,6 +1,7 @@ { lib, modulesPath, + pkgs, ... }: { imports = [ @@ -9,6 +10,10 @@ ../../users/seth ]; + environment.systemPackages = with pkgs; [ + wslu + ]; + wsl = { enable = true; defaultUser = "seth"; diff --git a/users/seth/shell/default.nix b/users/seth/shell/default.nix index 0811779..d8e7b15 100644 --- a/users/seth/shell/default.nix +++ b/users/seth/shell/default.nix @@ -33,10 +33,24 @@ enable = true; enableBashIntegration = false; enableZshIntegration = false; + settings = + { + format = "$all"; + palette = "catppuccin_mocha"; + } + // builtins.fromTOML (builtins.readFile + (pkgs.fetchFromGitHub + { + owner = "catppuccin"; + repo = "starship"; + rev = "3e3e54410c3189053f4da7a7043261361a1ed1bc"; + sha256 = "sha256-soEBVlq3ULeiZFAdQYMRFuswIIhI9bclIU8WXjxd7oY="; + } + + /palettes/mocha.toml)); }; }; - xdg.configFile."starship.toml".source = ./starship.toml; + #xdg.configFile."starship.toml".source = ./starship.toml; home = { sessionVariables = { -- cgit v1.2.3