diff options
| author | alex <[email protected]> | 2026-11-01 16:24:00 +0100 |
|---|---|---|
| committer | alex <[email protected]> | 2026-11-01 16:24:00 +0100 |
| commit | c7ddf8fdca5750fd02b2a09d8ae4fb4643485563 (patch) | |
| tree | 0e7bbb79065f3743ef8030b00f61db501cb79622 /home-manager/modules | |
| parent | 8e3302b7062a006c949166e2f4c3ba8f1339a0b7 (diff) | |
| download | nixos-c7ddf8fdca5750fd02b2a09d8ae4fb4643485563.tar.xz nixos-c7ddf8fdca5750fd02b2a09d8ae4fb4643485563.zip | |
alactritty replaces foot
Diffstat (limited to 'home-manager/modules')
| -rw-r--r-- | home-manager/modules/alacritty.nix | 12 | ||||
| -rw-r--r-- | home-manager/modules/fastfetch.nix | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/home-manager/modules/alacritty.nix b/home-manager/modules/alacritty.nix new file mode 100644 index 0000000..927127d --- /dev/null +++ b/home-manager/modules/alacritty.nix @@ -0,0 +1,12 @@ +{ osConfig, ... }: +let + host = osConfig.networking.hostName; + hostFile = ../alacritty/hosts + "/${host}.toml"; +in { + xdg.configFile."alacritty/alacritty.toml".source = ../alacritty/alacritty.toml; + + xdg.configFile."alacritty/host.toml".source = + if builtins.pathExists hostFile + then hostFile + else ../alacritty/hosts/default.toml; +} diff --git a/home-manager/modules/fastfetch.nix b/home-manager/modules/fastfetch.nix new file mode 100644 index 0000000..4ed561d --- /dev/null +++ b/home-manager/modules/fastfetch.nix @@ -0,0 +1,3 @@ +{ ... }: { + xdg.configFile."fastfetch/config.jsonc".source = ../fastfetch/config.jsonc; +} |
