summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorname <[email protected]>2026-10-19 13:35:26 +0200
committername <[email protected]>2026-10-19 13:35:26 +0200
commit57ed93d17c8072da3e1e1b3f02cb5c014cadc10e (patch)
treea0c958a5c971d202a384c66fbb6732db5dbcc4a2
parenta45633ee3dcad929593619e490ae3d240c45b0a9 (diff)
downloadnixos-57ed93d17c8072da3e1e1b3f02cb5c014cadc10e.tar.xz
nixos-57ed93d17c8072da3e1e1b3f02cb5c014cadc10e.zip
added host specific foot configs
-rw-r--r--home-manager/foot/foot.ini2
-rw-r--r--home-manager/foot/hosts/default.ini1
-rw-r--r--home-manager/foot/hosts/diamond.ini1
-rw-r--r--home-manager/hypr/hosts/diamond.lua6
-rw-r--r--home-manager/hypr/hosts/laptop.lua1
-rw-r--r--home-manager/modules/foot.nix12
6 files changed, 20 insertions, 3 deletions
diff --git a/home-manager/foot/foot.ini b/home-manager/foot/foot.ini
index a692a8f..3201d79 100644
--- a/home-manager/foot/foot.ini
+++ b/home-manager/foot/foot.ini
@@ -1,11 +1,11 @@
include=~/.cache/matugen/foot-colors.ini
+include=~/.config/foot/host.ini
[colors]
alpha=0.85
[main]
term=xterm-256color
# A highly recommended, clean font for terminals.
# Adjust the size to your screen's preference.
-font=JetBrains Mono Nerd Font:size=12
dpi-aware=yes
pad=10x5
diff --git a/home-manager/foot/hosts/default.ini b/home-manager/foot/hosts/default.ini
new file mode 100644
index 0000000..90ad3c5
--- /dev/null
+++ b/home-manager/foot/hosts/default.ini
@@ -0,0 +1 @@
+font=JetBrains Mono Nerd Font:size=12
diff --git a/home-manager/foot/hosts/diamond.ini b/home-manager/foot/hosts/diamond.ini
new file mode 100644
index 0000000..a4967b8
--- /dev/null
+++ b/home-manager/foot/hosts/diamond.ini
@@ -0,0 +1 @@
+font=JetBrains Mono Nerd Font:size=10
diff --git a/home-manager/hypr/hosts/diamond.lua b/home-manager/hypr/hosts/diamond.lua
new file mode 100644
index 0000000..b5b3a9f
--- /dev/null
+++ b/home-manager/hypr/hosts/diamond.lua
@@ -0,0 +1,6 @@
+hl.monitor({
+ output = "eDP-1",
+ mode = "1920x1080@60",
+ position = "0x0",
+ scale = 1,
+}) \ No newline at end of file
diff --git a/home-manager/hypr/hosts/laptop.lua b/home-manager/hypr/hosts/laptop.lua
deleted file mode 100644
index e600d44..0000000
--- a/home-manager/hypr/hosts/laptop.lua
+++ /dev/null
@@ -1 +0,0 @@
-hl.monitor({ output = "eDP-1,preferred,auto,1" })
diff --git a/home-manager/modules/foot.nix b/home-manager/modules/foot.nix
index 90c04a6..364fd4b 100644
--- a/home-manager/modules/foot.nix
+++ b/home-manager/modules/foot.nix
@@ -1,3 +1,13 @@
-{ ... }: {
+{ osConfig, ... }:
+let
+ host = osConfig.networking.hostName;
+ hostFile = ../foot/hosts + "/${host}.ini";
+
+in {
xdg.configFile."foot/foot.ini".source = ../foot/foot.ini;
+
+ xdg.configFile."foot/host.ini".source =
+ if builtins.pathExists hostFile
+ then hostFile
+ else ../foot/hosts/default.ini
}