chore: Formatting
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m26s

This commit is contained in:
uttarayan21
2025-08-14 19:34:20 +05:30
parent 57832be28d
commit c959a3aea8
15 changed files with 164 additions and 177 deletions

View File

@@ -5,8 +5,7 @@
lib,
device,
...
}:
{
}: {
imports = [
inputs.nix-index-database.homeModules.nix-index
../modules
@@ -34,7 +33,9 @@
home = {
username = device.user;
homeDirectory =
if device.isDarwin then lib.mkForce "/Users/${device.user}" else lib.mkForce "/home/${device.user}";
if device.isDarwin
then lib.mkForce "/Users/${device.user}"
else lib.mkForce "/home/${device.user}";
file = {
".config/fish/themes".source = pkgs.catppuccinThemes.fish + "/themes";
@@ -60,7 +61,10 @@
EDITOR = "nvim";
SHELL = "${pkgs.bash}/bin/bash";
CARGO_TARGET_DIR = "${config.xdg.cacheHome}/cargo/target";
BROWSER = if device.isDarwin then "open" else "xdg-open";
BROWSER =
if device.isDarwin
then "open"
else "xdg-open";
};
sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"