diff --git a/.channelStable.json b/.channelStable.json index db2e6f2..d86a968 100644 --- a/.channelStable.json +++ b/.channelStable.json @@ -1,9 +1,9 @@ { "url": "https://github.com/NixOS/nixpkgs.git", - "rev": "21b696caf392ad6fa513caf3327d0aa0430ffb72", - "date": "2021-07-01T14:54:38-07:00", - "path": "/nix/store/whs7ylppg2da9zdz485z2xp2v5qbzz22-nixpkgs", - "sha256": "1056r3383aaf5zhf7rbvka76gqxb8b7rwqxnmar29vxhs9h56m5k", + "rev": "9376bf7b34218e2a7f92af91089b0cb413a605e2", + "date": "2021-07-10T02:17:18+02:00", + "path": "/nix/store/vzh7j5sai90w1hb5mrz1yqjsr4ncq13a-nixpkgs", + "sha256": "0mr3pc6n6rflp7dxwlwf916i2w97jhlsl60i65wnmh6sf373cm7v", "fetchSubmodules": false, "deepClone": false, "leaveDotGit": false diff --git a/.channelUnstable.json b/.channelUnstable.json index 8e89a5b..b2c1696 100644 --- a/.channelUnstable.json +++ b/.channelUnstable.json @@ -1,9 +1,9 @@ { "url": "https://github.com/NixOS/nixpkgs.git", - "rev": "20887e4bbfdae3aed6bfa1f53ddf138ee325515e", - "date": "2021-07-03T21:40:35-05:00", - "path": "/nix/store/ph4npn3fa3hv9i9vvwsgwaz7zhl9v2dd-nixpkgs", - "sha256": "0hc79sv59appb7bynz5bzyqvrapyjdq63s79i649vxl93504kmnv", + "rev": "87807e64a5ef5206b745a40af118c7be8db73681", + "date": "2021-07-08T00:35:53+02:00", + "path": "/nix/store/lbmydw1ah3nj6pn78745l1rpw93qg0ld-nixpkgs", + "sha256": "056jv0m6x3q95ndj8mrwsy90s4imv34dl1lri9qyjrvl8r33kzzy", "fetchSubmodules": false, "deepClone": false, "leaveDotGit": false diff --git a/configs/workhorse/bitwarden.nix b/configs/workhorse/bitwarden.nix new file mode 100644 index 0000000..4914d05 --- /dev/null +++ b/configs/workhorse/bitwarden.nix @@ -0,0 +1,13 @@ +{config, lib, pkgs, ... }: +{ + services.bitwarden_rs = { + enable = true; + backupDir = "/home/bitwarden_backups"; + config = { + signupsAllowed = true; + }; + }; + + backup.dirs = [ config.services.bitwarden_rs.backupDir ]; + +}