mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
The reasoning for this is that `fish_add_path` writes to a universal variable that is persisted independently of fish configuration files, and this can result in stale `fish_user_paths` entries when calls to `fish_add_path` are removed from the configuration. Using `set -p PATH` ensures that only the environment is written to.
38 lines
710 B
Nix
38 lines
710 B
Nix
{
|
|
config,
|
|
inputs,
|
|
...
|
|
}: {
|
|
home.stateVersion = "23.05";
|
|
|
|
imports = [
|
|
inputs.catppuccin.homeManagerModules.catppuccin
|
|
inputs.am.homeManagerModules.default
|
|
|
|
./variables.nix
|
|
./fonts.nix
|
|
|
|
./apps/vscode.nix
|
|
|
|
./programs/zsh.nix
|
|
./programs/fish.nix
|
|
./programs/starship.nix
|
|
|
|
./programs/git.nix
|
|
./programs/bat.nix
|
|
./programs/helix.nix
|
|
./programs/go.nix
|
|
./programs/eza.nix
|
|
./programs/rust.nix
|
|
./programs/glamour.nix
|
|
];
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
services.am-discord-rich-presence = {
|
|
enable = true;
|
|
logFile = "${config.home.homeDirectory}/Library/Logs/am-discord-rich-presence.log";
|
|
};
|
|
|
|
catppuccin.flavour = "frappe";
|
|
}
|