mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
cleanup
This commit is contained in:
parent
45628bdbc3
commit
78b1a5761c
13 changed files with 52 additions and 113 deletions
|
@ -1,13 +1,12 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
imports =
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
# ./modules/adguard
|
||||
./modules/networks
|
||||
./modules/backup
|
||||
# ./modules/backup
|
||||
# ./modules/hydra
|
||||
./modules/matrix
|
||||
./modules/nextcloud
|
||||
|
@ -23,9 +22,6 @@
|
|||
tmp.useTmpfs = true;
|
||||
};
|
||||
services.btrfs.autoScrub.enable = true;
|
||||
nix.settings = {
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
||||
sops.secrets."store/secretkey" = { };
|
||||
nix.extraOptions = ''
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
services.borgmatic = {
|
||||
enable = true;
|
||||
settings = {
|
||||
# fix failing check
|
||||
location = null;
|
||||
source_directories = [
|
||||
"/var/lib"
|
||||
"/var/log"
|
||||
|
@ -25,10 +23,8 @@
|
|||
path = "/mnt/backup/nuc";
|
||||
}
|
||||
];
|
||||
storage = {
|
||||
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."borg/passphrase".path}";
|
||||
compression = "lz4";
|
||||
};
|
||||
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."borg/passphrase".path}";
|
||||
compression = "lz4";
|
||||
retention = {
|
||||
keep_daily = 7;
|
||||
keep_weekly = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue