feat: agenix
This commit is contained in:
parent
7becd2870c
commit
42898035ba
6 changed files with 146 additions and 15 deletions
|
|
@ -105,7 +105,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
#ciscoPacketTracer8
|
||||
SDL2
|
||||
agenix-cli
|
||||
inputs.agenix.packages."${system}".default
|
||||
air
|
||||
alacritty
|
||||
anki
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
# This is only a temporary password and will be changed
|
||||
environment.etc."nextcloud-admin-pass".text = "samcsamc11";
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
|
|
@ -21,7 +19,7 @@
|
|||
package = pkgs.nextcloud31;
|
||||
config = {
|
||||
adminuser = "admin";
|
||||
adminpassFile = "/etc/nextcloud-admin-pass";
|
||||
adminpassFile = config.age.secrets.nextcloud.path;
|
||||
dbtype = "pgsql";
|
||||
};
|
||||
database.createLocally = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue