starship changes

This commit is contained in:
Charlie Root 2024-08-07 22:34:38 +02:00
commit 45425254bf
5 changed files with 9 additions and 22 deletions

View file

@ -20,6 +20,7 @@ in {
config = mkIf cfg.enable {
programs.fish.enable = true;
users.users.${username}.shell = pkgs.fish;
environment = {
shells = [pkgs.fish];
@ -27,7 +28,6 @@ in {
};
home-manager.users.${username} = {
shell = pkgs.fish;
programs = {
zoxide.enable = true;
zoxide.enableFishIntegration = true;

View file

@ -41,20 +41,6 @@ in {
line_break.disabled = false;
format = "${elemsConcatted}\n$character";
# format = concatStrings [
# "$hostname"
# #"$username"
# "$directory"
# "$shell"
# "$nix_shell"
# "$git_branch"
# "$git_commit"
# "$git_state"
# "$git_status"
# "$jobs"
# "$cmd_duration"
# "\n$character"
# ];
hostname = {
ssh_only = true;

View file

@ -163,7 +163,7 @@ in {
security = {
sanitizeOnShutdown = false;
sandbox = false;
sandbox = true;
noSessionRestore = false;
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0";
};
@ -185,11 +185,13 @@ in {
"browser.ctrlTab.sortByRecentlyUsed" = true;
# This makes websites prefer a dark theme (in theory)
"layout.css.prefers-color-scheme.content-override" = 0;
# "widget.use-xdg-desktop-portal.file-picker" = 1;
"widget.use-xdg-desktop-portal.file-picker" = 1;
# Leaving this on breaks a lot
# "privacy.resistFingerprinting" = false;
# "permissions.fullscreen.allowed" = true;
# "dom.webnotifications.enabled" = true;
"permissions.fullscreen.allowed" = true;
"dom.webnotifications.enabled" = true;
"browser.startup.page" = 3;
};
};
};

View file

@ -216,7 +216,6 @@ in {
"$mainMod, Q, killactive"
"$mainMod, F, fullscreen, 0"
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill anyrun || ${anyrun}/bin/anyrun"
#"$mainMod, D, exec, killall rofi || rofi -show drun"
"$mainMod, SPACE, togglefloating, active"
# workspaces
@ -276,7 +275,7 @@ in {
# File manager
"$mainMod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
# Toggle the four different special workspaces.
# Toggle the three different special workspaces.
"$mainMod, V, togglespecialworkspace, pipewire"
"$mainMod, N, togglespecialworkspace, nixos"
"$mainMod, X, togglespecialworkspace, keepassxc"

View file

@ -6,7 +6,7 @@
hardware.nvidia = {
modesetting.enable = true;
open = false;
powerManagement.enable = false;
powerManagement.enable = true;
powerManagement.finegrained = false;
nvidiaSettings = false;
package = config.boot.kernelPackages.nvidiaPackages.beta;