diff options
| author | Akshay Nair <phenax5@gmail.com> | 2022-03-03 23:15:35 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2022-03-03 23:15:35 +0530 |
| commit | 6094a9fa1548a1b6ca510d0707f1d317121f75ea (patch) | |
| tree | 0610ae5a52e2c55268e410b15622352ff27350c0 /configuration.nix | |
| parent | e160c24728bad4076f148b0a31de92f88df365d8 (diff) | |
| download | nixos-config-6094a9fa1548a1b6ca510d0707f1d317121f75ea.tar.gz nixos-config-6094a9fa1548a1b6ca510d0707f1d317121f75ea.zip | |
config sync
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/configuration.nix b/configuration.nix index bc3c467..c71508d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -27,6 +27,31 @@ in enable = true; }; + services.borgbackup = + let + homeDir = config.users.users.imsohexy.home; + user = config.users.users.imsohexy.name; + in + { + jobs = { + testBkup = { + paths = "${homeDir}/dump/elm-worker-tmp"; + repo = "${homeDir}/dump/backups"; + compression = "none"; + startAt = "weekly"; + user = user; + group = "users"; + encryption = { + mode = "none"; + }; + # encryption = { + # mode = "repokey"; + # passCommand = "pass show BorgBackup/imsohexy"; + # }; + }; + }; + }; + hardware.bluetooth.enable = false; #hardware.bluetooth.package = pkgs.bluezFull; @@ -109,7 +134,7 @@ in noto-fonts-emoji ]; - nix.autoOptimiseStore = true; + nix.settings.auto-optimise-store = true; nix.gc = { automatic = true; dates = "weekly"; |
