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;
interactiveShellInit = ''
any-nix-shell fish --info-right | source
function starship_transient_rprompt_func
set width "$(calc "($(tput cols)-12)/2")"
echo -n " <"
string repeat -n$width
echo -n " "
starship module time
end
cat /var/lib/rust-motd/motd
any-nix-shell fish --info-right | source
function starship_transient_rprompt_func
set width "$(calc "($(tput cols)-12)/2")"
echo -n " <"
string repeat -n$width
echo -n " "
starship module time
end
cat /var/lib/rust-motd/motd
'';
loginShellInit = ''
'';

View file

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