Testing lib.mkForce
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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,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";
|
||||
|
||||
Reference in New Issue
Block a user