fix: ignore home-manager's default i3 config

This commit is contained in:
Ryan Yin
2024-01-04 00:18:26 +08:00
parent 57a3af6e40
commit eaa31be821

View File

@@ -1,4 +1,4 @@
{polybar-themes, ...}: {
{lib, polybar-themes, ...}: {
# NOTE:
# We have to enable hyprland/i3's systemd user service in home-manager,
# so that gammastep/wallpaper-switcher's user service can be start correctly!
@@ -7,6 +7,7 @@
enable = true;
windowManager.i3 = {
enable = true;
config = lib.mkForce null; # ignores all home-manager's default i3 config
extraConfig = builtins.readFile ../conf/i3-config;
};
# Path, relative to HOME, where Home Manager should write the X session script.