Compare commits
4 Commits
eb0c48b1e7
...
f6585da4b7
| Author | SHA1 | Date | |
|---|---|---|---|
| f6585da4b7 | |||
| 64336e8f9f | |||
| efbb990fab | |||
| 0f105b5324 |
@@ -6,7 +6,7 @@
|
|||||||
(mount-cifs {
|
(mount-cifs {
|
||||||
host = "duke.veltnet";
|
host = "duke.veltnet";
|
||||||
resource = "smb-share";
|
resource = "smb-share";
|
||||||
destination = "/home/weckyy702/duke";
|
destination = "/mnt/nas";
|
||||||
credentials_path = "${config.age.secrets.nas-creds.path}";
|
credentials_path = "${config.age.secrets.nas-creds.path}";
|
||||||
UID = "weckyy702";
|
UID = "weckyy702";
|
||||||
GID = "users";
|
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 = [
|
imports = [
|
||||||
./lsp.nix
|
./lsp.nix
|
||||||
|
./formatter.nix
|
||||||
./telescope
|
./telescope
|
||||||
./cmp
|
./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;
|
enable = true;
|
||||||
};
|
};
|
||||||
rnix.enable = true;
|
rnix.enable = true;
|
||||||
|
|
||||||
|
basedpyright.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
|||||||
@@ -30,14 +30,10 @@
|
|||||||
patterns = [
|
patterns = [
|
||||||
#TODO: home.homeDirectory might be usable here
|
#TODO: home.homeDirectory might be usable here
|
||||||
#TODO: should be user and machine specific
|
#TODO: should be user and machine specific
|
||||||
"R /home/${username}/Documents"
|
"R /home/${username}"
|
||||||
"R /home/${username}/.ssh"
|
"+ /home/${username}/.ssh"
|
||||||
"- /home/${username}/Documents/SteamLibrary"
|
"- /home/${username}/.*"
|
||||||
"- /home/${username}/Documents/PrismLauncher instances"
|
|
||||||
"- /home/${username}/Documents/.Trash-1000"
|
|
||||||
"- /home/${username}/Documents/VMs/Data"
|
|
||||||
"- **/node_modules"
|
"- **/node_modules"
|
||||||
"- **/.git"
|
|
||||||
"- **/.cache"
|
"- **/.cache"
|
||||||
"- **/*build"
|
"- **/*build"
|
||||||
"- **/target"
|
"- **/target"
|
||||||
@@ -48,6 +44,8 @@
|
|||||||
"- **/dist"
|
"- **/dist"
|
||||||
"- **/.pio"
|
"- **/.pio"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
extraConfig.exclude_if_present = [ ".borgignore" ];
|
||||||
};
|
};
|
||||||
retention.keepWeekly = 2;
|
retention.keepWeekly = 2;
|
||||||
storage.extraConfig.ssh_command = "ssh -i /home/${username}/.ssh/id_ed25519_borg";
|
storage.extraConfig.ssh_command = "ssh -i /home/${username}/.ssh/id_ed25519_borg";
|
||||||
|
|||||||
Reference in New Issue
Block a user