restructuring, rclone,whatever

This commit is contained in:
tulg 2026-04-29 17:55:16 +03:00
parent 7cd313ff36
commit d6216e86c6
7 changed files with 68 additions and 25 deletions

View file

@ -8,6 +8,7 @@
./disko.nix
./hardware-configuration.nix
./vfio.nix
./secrets.nix
../../modules/nixos/networking/default.nix
../../modules/nixos/virtualization/default.nix
../../modules/nixos/common.nix
@ -21,10 +22,6 @@
xwayland.enable = true;
};
environment.systemPackages = with pkgs; [
protonup-ng
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "virgil";

View file

@ -77,6 +77,19 @@
"noatime"
];
};
fileSystems."/mnt/rclone" = {
device = "virgilbackups:";
fsType = "rclone";
options = [
"nodev"
"nofail"
"allow_other"
"args2env"
"config=/home/tulg/.config/rclone.conf"
"x-systemd.automount"
"x-systemd.idle-timeout=60"
];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";

View file

@ -1,9 +1,11 @@
{
age = {
secrets = {
secret1 = {
file ../../modules/secrets/secret1.age;
};
};
secrets = {
rclone = {
file = ../../modules/secrets/rclone.age;
owner = "tulg";
path = "/home/tulg/.config/rclone.conf";
};
};
};
}
}