Run alejandra

This commit is contained in:
Tristan D. 2024-07-09 16:41:23 +02:00
parent eb3363dc69
commit c056e61251
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4
2 changed files with 10 additions and 11 deletions

View file

@ -52,15 +52,15 @@ in
package = pkgs.fish; package = pkgs.fish;
interactiveShellInit = '' interactiveShellInit = ''
any-nix-shell fish --info-right | source any-nix-shell fish --info-right | source
function starship_transient_rprompt_func function starship_transient_rprompt_func
set width "$(calc "($(tput cols)-12)/2")" set width "$(calc "($(tput cols)-12)/2")"
echo -n " <" echo -n " <"
string repeat -n$width string repeat -n$width
echo -n " " echo -n " "
starship module time starship module time
end end
cat /var/lib/rust-motd/motd cat /var/lib/rust-motd/motd
''; '';
loginShellInit = '' loginShellInit = ''
''; '';

View file

@ -27,7 +27,7 @@
security.sudo-rs.wheelNeedsPassword = lib.mkForce true; # unneded due to fp sensor security.sudo-rs.wheelNeedsPassword = lib.mkForce true; # unneded due to fp sensor
# Power mgmt # Power mgmt
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
powerManagement.powertop.enable = true; powerManagement.powertop.enable = true;
programs.corectrl.gpuOverclock.enable = lib.mkForce false; # TODO Check if needed programs.corectrl.gpuOverclock.enable = lib.mkForce false; # TODO Check if needed
@ -54,7 +54,6 @@
}; };
}; };
boot = { boot = {
# kernelPackages = pkgs.linuxPackages_cachyos; # bootstrap # kernelPackages = pkgs.linuxPackages_cachyos; # bootstrap
kernelPackages = pkgs.pkgsAMD64Microarchs.znver4.linuxPackages_cachyos; # TODO see above, include into module kernelPackages = pkgs.pkgsAMD64Microarchs.znver4.linuxPackages_cachyos; # TODO see above, include into module