Compare commits
4 Commits
eb0c48b1e7
...
f6585da4b7
| Author | SHA1 | Date | |
|---|---|---|---|
| f6585da4b7 | |||
| 64336e8f9f | |||
| efbb990fab | |||
| 0f105b5324 |
@@ -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";
|
||||
|
||||
5
modules/programs/development-tools/udev.nix
Normal file
5
modules/programs/development-tools/udev.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
flake.modules.nixos.development-tools = { pkgs, ... }: {
|
||||
services.udev.packages = with pkgs; [ platformio-core.udev ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./lsp.nix
|
||||
./formatter.nix
|
||||
./telescope
|
||||
./cmp
|
||||
];
|
||||
|
||||
15
modules/programs/nixvim/_nixvim-config/plugins/formatter.nix
Normal file
15
modules/programs/nixvim/_nixvim-config/plugins/formatter.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
plugins.conform-nvim = {
|
||||
enable = true;
|
||||
autoInstall.enable = true;
|
||||
settings = {
|
||||
formatters_by_ft = {
|
||||
cpp = [ "clang_format" ];
|
||||
markdown = [
|
||||
"prettier"
|
||||
];
|
||||
};
|
||||
formatters = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -20,6 +20,8 @@
|
||||
enable = true;
|
||||
};
|
||||
rnix.enable = true;
|
||||
|
||||
basedpyright.enable = true;
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user