summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-04-13 02:52:50 -0400
committerseth <[email protected]>2023-04-13 02:52:50 -0400
commitf4faa709c0ff772fb9f33f6d94b0ef03f3678762 (patch)
tree85340f4779701f493ce00ad546a3c3d197c3fa99
parent355d49c857640d072a1f4dff22df49d9a56f9926 (diff)
add wslu to glados-wsl & add catppuccin theme to starship
-rw-r--r--hosts/glados-wsl/default.nix5
-rw-r--r--users/seth/shell/default.nix16
2 files changed, 20 insertions, 1 deletions
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 = {