Compare commits

...

4 Commits

Author SHA1 Message Date
f6585da4b7 borgmatic: Rework borgmatic config to be a little less silly
Instead of globally excluding by pattern, exclude directories that
contain a .borgignore file

This makes the borg config more scalable across different setups
2026-04-02 13:48:08 +02:00
64336e8f9f Devtools: Add platformio udev rules 2026-04-02 13:48:08 +02:00
efbb990fab Nixvim: Enable formatters using conform.nvim 2026-04-02 13:48:08 +02:00
0f105b5324 Tux: Remount NAS outside $HOME 2026-04-02 13:48:08 +02:00
6 changed files with 29 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
(mount-cifs {
host = "duke.veltnet";
resource = "smb-share";
destination = "/home/weckyy702/duke";
destination = "/mnt/nas";
credentials_path = "${config.age.secrets.nas-creds.path}";
UID = "weckyy702";
GID = "users";

View File

@@ -0,0 +1,5 @@
{
flake.modules.nixos.development-tools = { pkgs, ... }: {
services.udev.packages = with pkgs; [ platformio-core.udev ];
};
}

View File

@@ -1,6 +1,7 @@
{ ... }: {
imports = [
./lsp.nix
./formatter.nix
./telescope
./cmp
];

View File

@@ -0,0 +1,15 @@
{
plugins.conform-nvim = {
enable = true;
autoInstall.enable = true;
settings = {
formatters_by_ft = {
cpp = [ "clang_format" ];
markdown = [
"prettier"
];
};
formatters = { };
};
};
}

View File

@@ -20,6 +20,8 @@
enable = true;
};
rnix.enable = true;
basedpyright.enable = true;
};
keymaps = [

View File

@@ -30,14 +30,10 @@
patterns = [
#TODO: home.homeDirectory might be usable here
#TODO: should be user and machine specific
"R /home/${username}/Documents"
"R /home/${username}/.ssh"
"- /home/${username}/Documents/SteamLibrary"
"- /home/${username}/Documents/PrismLauncher instances"
"- /home/${username}/Documents/.Trash-1000"
"- /home/${username}/Documents/VMs/Data"
"R /home/${username}"
"+ /home/${username}/.ssh"
"- /home/${username}/.*"
"- **/node_modules"
"- **/.git"
"- **/.cache"
"- **/*build"
"- **/target"
@@ -48,6 +44,8 @@
"- **/dist"
"- **/.pio"
];
extraConfig.exclude_if_present = [ ".borgignore" ];
};
retention.keepWeekly = 2;
storage.extraConfig.ssh_command = "ssh -i /home/${username}/.ssh/id_ed25519_borg";