1
Fork 0

Reduced the amount of IFD and started setting up wezterm

This commit is contained in:
Matei Adriel 2023-04-01 21:29:47 +02:00
parent e2baf15fe6
commit b030524e83
No known key found for this signature in database
15 changed files with 131 additions and 19 deletions
modules/home-manager

View file

@ -1,5 +1,5 @@
{ lib, config, ... }: {
options.satellite-dev = {
options.satellite.dev = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
@ -18,8 +18,8 @@
};
};
config.satellite-dev.path = path:
if config.satellite-dev.enable then
config.lib.file.mkOutOfStoreSymlink "${config.satellite-dev.root}/${path}"
config.satellite.dev.path = path:
if config.satellite.dev.enable then
config.lib.file.mkOutOfStoreSymlink "${config.satellite.dev.root}/${path}"
else "${../..}/${path}";
}