mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 21:29:33 +01:00
Compare commits
3 commits
cdef07a6fa
...
031f14bd1f
Author | SHA1 | Date | |
---|---|---|---|
Harry | 031f14bd1f | ||
Harry | 340a95c40d | ||
Harry | c3ea234b73 |
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#pattern filter=crypt diff=crypt merge=crypt
|
||||||
|
features/server/services/forgejo-smtp.nix filter=crypt diff=crypt
|
||||||
|
features/server/services/nextcloud-network.nix filter=crypt diff=crypt
|
9
.sops.yaml
Normal file
9
.sops.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
keys:
|
||||||
|
- &homelab_serv age17pq9xyrcv6tlms9sznnhql6pejue33r0aukn72hzpcn4jykrg33q4u0a3m
|
||||||
|
- &admin_homelab age1c8kr95dc7cqq34qyjgpnsgfgyntqnt5rlrq2c025ehp32f8h3sjqkf8k3s
|
||||||
|
creation_rules:
|
||||||
|
- path_regex: secrets/[^/]+\.(yaml|json|env)$
|
||||||
|
key_groups:
|
||||||
|
- age:
|
||||||
|
- *admin_homelab
|
||||||
|
- *homelab_serv
|
|
@ -52,6 +52,7 @@
|
||||||
default_locale = "fr_FR";
|
default_locale = "fr_FR";
|
||||||
default_language = "fr";
|
default_language = "fr";
|
||||||
default_timezone = "Europe/Paris";
|
default_timezone = "Europe/Paris";
|
||||||
|
"memories.exiftool" = "${lib.getExe pkgs.exiftool}";
|
||||||
};
|
};
|
||||||
|
|
||||||
phpExtraExtensions = all: [
|
phpExtraExtensions = all: [
|
||||||
|
@ -59,6 +60,7 @@
|
||||||
all.redis
|
all.redis
|
||||||
all.bz2
|
all.bz2
|
||||||
];
|
];
|
||||||
|
|
||||||
phpOptions."opcache.interned_strings_buffer" = "23";
|
phpOptions."opcache.interned_strings_buffer" = "23";
|
||||||
extraApps = {
|
extraApps = {
|
||||||
inherit (config.services.nextcloud.package.packages.apps)
|
inherit (config.services.nextcloud.package.packages.apps)
|
||||||
|
@ -91,6 +93,13 @@
|
||||||
extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
appstoreEnable = true; # why i would want appstore to be disabled ???
|
appstoreEnable = true; # why i would want appstore to be disabled ???
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
extraOptions."memories.exiftool" = "${lib.getExe pkgs.exiftool}";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.systemPackages =
|
||||||
|
let
|
||||||
|
php = pkgs.php.buildEnv { extraConfig = "memory_limit = 2G"; };
|
||||||
|
in
|
||||||
|
[
|
||||||
|
php
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue