syncthing
This commit is contained in:
parent
d69cc4e400
commit
0a0abf8339
3 changed files with 25 additions and 15 deletions
|
|
@ -81,6 +81,9 @@
|
|||
"amdgpu.abmlevel=1"
|
||||
];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
# boot.extraModulePackages = with config.boot.kernelPackages; [
|
||||
# framework-laptop-kmod
|
||||
# ];
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
systemd.sleep.extraConfig = "HibernateDelaySec=180m";
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@
|
|||
configDir = "/home/tao/.config/syncthing";
|
||||
overrideDevices = false;
|
||||
overrideFolders = false;
|
||||
openDefaultPorts = true;
|
||||
settings = {
|
||||
devices = {
|
||||
# we do a lil anti-patterns https://github.com/ryantm/agenix?tab=readme-ov-file#builtinsreadfile-anti-pattern
|
||||
|
|
@ -98,10 +99,10 @@
|
|||
# path = "/home/tao/documents";
|
||||
# devices = devs;
|
||||
# };
|
||||
# "pictures" = {
|
||||
# path = "/home/tao/pictures";
|
||||
# devices = devs;
|
||||
# };
|
||||
"pictures" = {
|
||||
path = "/home/tao/pictures";
|
||||
devices = devs;
|
||||
};
|
||||
"projects" = {
|
||||
path = "/home/tao/projects";
|
||||
devices = devs;
|
||||
|
|
@ -114,6 +115,10 @@
|
|||
path = "/home/tao/sync";
|
||||
devices = devs;
|
||||
};
|
||||
"work" = {
|
||||
path = "/home/tao/work";
|
||||
devices = devs;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -49,10 +49,12 @@ def nr [package] {
|
|||
|
||||
def rebuild [subcommand] {
|
||||
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose
|
||||
rm -r ~/.config/helix/runtime/grammars/
|
||||
hx --grammar fetch; hx --grammar build
|
||||
rustup update
|
||||
}
|
||||
# def post-rebuild [] {
|
||||
# # rm -r ~/.config/helix/runtime/grammars/
|
||||
# # hx --grammar fetch; hx --grammar build
|
||||
# # rustup update
|
||||
# }
|
||||
def bump [] {
|
||||
cd /home/tao/projects/NOflake/
|
||||
jj new -m "bump"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue