summaryrefslogtreecommitdiff
path: root/home-manager/modules
diff options
context:
space:
mode:
authoralex <[email protected]>2026-11-01 16:24:00 +0100
committeralex <[email protected]>2026-11-01 16:24:00 +0100
commitc7ddf8fdca5750fd02b2a09d8ae4fb4643485563 (patch)
tree0e7bbb79065f3743ef8030b00f61db501cb79622 /home-manager/modules
parent8e3302b7062a006c949166e2f4c3ba8f1339a0b7 (diff)
downloadnixos-c7ddf8fdca5750fd02b2a09d8ae4fb4643485563.tar.xz
nixos-c7ddf8fdca5750fd02b2a09d8ae4fb4643485563.zip
alactritty replaces foot
Diffstat (limited to 'home-manager/modules')
-rw-r--r--home-manager/modules/alacritty.nix12
-rw-r--r--home-manager/modules/fastfetch.nix3
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;
+}