Configure updates

This commit is contained in:
Maciej Jur 2023-07-13 08:22:26 +02:00
parent 5b57585e5e
commit afa6f360d5
No known key found for this signature in database
GPG key ID: ADA3BF323198C639

View file

@ -13,6 +13,22 @@
# Define on which hard drive you want to install Grub.
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only
system = {
autoUpgrade = {
enable = true;
allowReboot = true;
};
};
nix = {
optimise.automatic = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
};
networking = {
hostName = "kamoshi";
nat = {
@ -119,8 +135,8 @@
syncthing = {
enable = true;
user = "kamov";
dataDir = "/home/kamov/sync/";
configDir = "/home/kamov/sync/.config/";
dataDir = "/home/kamov/sync";
configDir = "/home/kamov/sync/.config";
guiAddress = "0.0.0.0:8384";
extraOptions.gui = {
user = "admin";