chore: Formatting
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m26s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m26s
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
pkgs,
|
||||
device,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
imports = [
|
||||
../../modules
|
||||
./aichat.nix
|
||||
@@ -48,8 +47,7 @@
|
||||
# ./template.nix
|
||||
# ./zellij.nix
|
||||
];
|
||||
home.packages =
|
||||
with pkgs;
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
_1password-cli
|
||||
alejandra
|
||||
@@ -85,6 +83,6 @@
|
||||
nerd-fonts.hasklug
|
||||
nerd-fonts.symbols-only
|
||||
]
|
||||
++ lib.optionals device.isLinux [ ]
|
||||
++ lib.optionals device.isDarwin [ ];
|
||||
++ lib.optionals device.isLinux []
|
||||
++ lib.optionals device.isDarwin [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user