move sops to config file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
"rp"
|
||||
".mozilla/firefox/roy/storage/default"
|
||||
".cache/mozilla/firefox/roy"
|
||||
"age"
|
||||
];
|
||||
files = [
|
||||
".bash_history"
|
||||
@@ -54,16 +53,6 @@
|
||||
allowOther = true;
|
||||
};
|
||||
|
||||
# SOPS config
|
||||
sops = {
|
||||
age.keyFile = "/persist/home/roy/age/.age-key.txt";
|
||||
defaultSopsFormat = "json";
|
||||
defaultSopsFile = ./secrets/roy.json;
|
||||
# secrets.test = {
|
||||
# path = "%r/test.txt";
|
||||
#};
|
||||
};
|
||||
|
||||
# User services must come after sops secrets
|
||||
systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user