starship changes
This commit is contained in:
parent
0659639c2e
commit
45425254bf
5 changed files with 9 additions and 22 deletions
|
@ -20,6 +20,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
|
users.users.${username}.shell = pkgs.fish;
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
shells = [pkgs.fish];
|
shells = [pkgs.fish];
|
||||||
|
@ -27,7 +28,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
shell = pkgs.fish;
|
|
||||||
programs = {
|
programs = {
|
||||||
zoxide.enable = true;
|
zoxide.enable = true;
|
||||||
zoxide.enableFishIntegration = true;
|
zoxide.enableFishIntegration = true;
|
||||||
|
|
|
@ -41,20 +41,6 @@ in {
|
||||||
line_break.disabled = false;
|
line_break.disabled = false;
|
||||||
|
|
||||||
format = "${elemsConcatted}\n$character";
|
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 = {
|
hostname = {
|
||||||
ssh_only = true;
|
ssh_only = true;
|
||||||
|
|
|
@ -163,7 +163,7 @@ in {
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
sanitizeOnShutdown = false;
|
sanitizeOnShutdown = false;
|
||||||
sandbox = false;
|
sandbox = true;
|
||||||
noSessionRestore = false;
|
noSessionRestore = false;
|
||||||
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0";
|
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;
|
"browser.ctrlTab.sortByRecentlyUsed" = true;
|
||||||
# This makes websites prefer a dark theme (in theory)
|
# This makes websites prefer a dark theme (in theory)
|
||||||
"layout.css.prefers-color-scheme.content-override" = 0;
|
"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
|
# Leaving this on breaks a lot
|
||||||
# "privacy.resistFingerprinting" = false;
|
# "privacy.resistFingerprinting" = false;
|
||||||
# "permissions.fullscreen.allowed" = true;
|
"permissions.fullscreen.allowed" = true;
|
||||||
# "dom.webnotifications.enabled" = true;
|
"dom.webnotifications.enabled" = true;
|
||||||
|
|
||||||
|
"browser.startup.page" = 3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -216,7 +216,6 @@ in {
|
||||||
"$mainMod, Q, killactive"
|
"$mainMod, Q, killactive"
|
||||||
"$mainMod, F, fullscreen, 0"
|
"$mainMod, F, fullscreen, 0"
|
||||||
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill anyrun || ${anyrun}/bin/anyrun"
|
"$mainMod, D, exec, ${pkgs.procps}/bin/pkill anyrun || ${anyrun}/bin/anyrun"
|
||||||
#"$mainMod, D, exec, killall rofi || rofi -show drun"
|
|
||||||
"$mainMod, SPACE, togglefloating, active"
|
"$mainMod, SPACE, togglefloating, active"
|
||||||
|
|
||||||
# workspaces
|
# workspaces
|
||||||
|
@ -276,7 +275,7 @@ in {
|
||||||
# File manager
|
# File manager
|
||||||
"$mainMod, E, exec, ${pkgs.xfce.thunar}/bin/thunar"
|
"$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, V, togglespecialworkspace, pipewire"
|
||||||
"$mainMod, N, togglespecialworkspace, nixos"
|
"$mainMod, N, togglespecialworkspace, nixos"
|
||||||
"$mainMod, X, togglespecialworkspace, keepassxc"
|
"$mainMod, X, togglespecialworkspace, keepassxc"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
open = false;
|
open = false;
|
||||||
powerManagement.enable = false;
|
powerManagement.enable = true;
|
||||||
powerManagement.finegrained = false;
|
powerManagement.finegrained = false;
|
||||||
nvidiaSettings = false;
|
nvidiaSettings = false;
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue