mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add zipline
This commit is contained in:
parent
db188aebd7
commit
e48d51cbc0
7 changed files with 86 additions and 54 deletions
|
|
@ -1,11 +1,14 @@
|
|||
{ pkgs, lib, config, inputs, system, ... }:
|
||||
let cfg = config.mods;
|
||||
|
||||
in {
|
||||
in with lib; {
|
||||
imports = [ inputs.sops-nix.nixosModules.sops ];
|
||||
sops = {
|
||||
age.keyFile = "/home/muon/.config/sops/age/keys.txt";
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
secrets.muon-password = { };
|
||||
secrets.zipline-secret = mkIf cfg.server.share.enable {
|
||||
owner = "zipline";
|
||||
group = "zipline";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue