fix(secrets): fix permissions

Also moves key references into respective configs where they are used.
This commit is contained in:
Felix Schröter 2022-05-06 03:16:17 +02:00
parent 7f3a5317bd
commit 0dee8b4fa7
Signed by: felschr
GPG key ID: 671E39E6744C807D
15 changed files with 125 additions and 96 deletions

View file

@ -1,6 +1,8 @@
{ config, lib, pkgs, ... }:
{
age.secrets.samba.file = ../../secrets/samba.age;
fileSystems."/home/felschr/media" = {
device = "//192.168.1.234/media";
fsType = "cifs";