add restic binary on bolty

This commit is contained in:
Cyryl Płotnicki 2022-01-25 22:27:36 +00:00
parent 0e7e64aac2
commit 7e0c8ca020
3 changed files with 88 additions and 88 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ restic ];
networking.firewall.allowedTCPPorts = [ 8000 ]; networking.firewall.allowedTCPPorts = [ 8000 ];
services.restic.server = { services.restic.server = {
enable = true; enable = true;

View file

@ -2,7 +2,7 @@
let let
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system}; unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
in in
{ {
programs.firejail.enable = true; programs.firejail.enable = true;
programs.firejail.wrappedBinaries = { programs.firejail.wrappedBinaries = {
firefox = { firefox = {
@ -90,4 +90,4 @@ in
zoom-us zoom-us
]; ];
}; };
} }

View file

@ -5,4 +5,4 @@
ignore apparmor ignore apparmor
ignore noexec '' + "$" + "{HOME}"; ignore noexec '' + "$" + "{HOME}";
} }