Testing lib.mkForce

This commit is contained in:
2026-03-01 18:24:47 +01:00
parent db2b9e4a06
commit eb18a3628a
18 changed files with 944 additions and 1012 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ config, pkgs, lib, flakeRoot, ... }:
let
repoAlacrittyConf = flakeRoot + "/assets/conf/dev/alacritty.toml";
repoAlacrittyConf = flakeRoot.outPath + "/assets/conf/dev/alacritty.toml";
in
{
xdg.enable = true;
+2 -2
View File
@@ -1,10 +1,10 @@
{ config, pkgs, lib, flakeRoot, ... }:
let
catppuccinMochaConf =
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
builtins.readFile (flakeRoot.outPath + "/assets/conf/dev/terminal/Catppuccin-Mocha.conf");
# Your own keymaps / other settings (but we will NOT rely on it for opacity)
repoKittyConfText =
builtins.readFile (flakeRoot + "/assets/conf/dev/terminal/kitty.conf");
builtins.readFile (flakeRoot.outPath + "/assets/conf/dev/terminal/kitty.conf");
in
{
xdg.enable = true;
+1 -1
View File
@@ -15,7 +15,7 @@
# - Instead, we create/remove files via home.activation (create only if missing).
{ config, pkgs, lib, flakeRoot, ... }:
let
terminalDir = flakeRoot + "/assets/conf/dev/terminal";
terminalDir = flakeRoot.outPath + "/assets/conf/dev/terminal";
enabledFile = terminalDir + "/enabled_shells.conf";
aliasesFile = terminalDir + "/aliases.conf";
trim = lib.strings.trim;
+1 -1
View File
@@ -1,7 +1,7 @@
{ config, pkgs, lib, flakeRoot, ... }:
let
repoStarshipToml = flakeRoot + "/assets/conf/dev/terminal/starship.toml";
repoStarshipToml = flakeRoot.outPath + "/assets/conf/dev/terminal/starship.toml";
# The exact key that appears in the error:
targetKey = "${config.home.homeDirectory}/.config/starship.toml";