refactor: dynamically manage most imports

This commit is contained in:
Leon Schwarzäugl 2025-02-26 00:32:05 +01:00
parent 6279713ab5
commit c8089780d7
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
17 changed files with 171 additions and 225 deletions

View file

@ -1,7 +1,7 @@
{ self, ... }:
{ self, lib, ... }:
{
home.file = {
"init.el" = {
"init.el" = lib.mkDefault {
source = self + /programs/emacs/init.el;
target = ".emacs.d/init.el";
};

View file

@ -1,7 +1,7 @@
{ self, ... }:
{ self, lib, ... }:
{
home.file = {
"init.el" = {
"init.el" = lib.mkForce {
source = self + /programs/emacs/server.el;
target = ".emacs.d/init.el";
};

View file

@ -1,4 +1,4 @@
_:
{ lib, ... }:
{
services.syncthing = {
enable = true;
@ -19,7 +19,7 @@ _:
};
};
folders = {
"Default Folder" = {
"Default Folder" = lib.mkDefault {
path = "/home/swarsel/Sync";
devices = [ "sync (@oracle)" "magicant" "winters" ];
id = "default";

View file

@ -32,7 +32,7 @@
};
};
folders = {
"Default Folder" = {
"Default Folder" = lib.mkForce {
path = "/Vault/data/syncthing/Sync";
type = "receiveonly";
versioning = null;