Compare commits

..

5 Commits

15 changed files with 20 additions and 3 deletions

View File

@ -171,7 +171,7 @@
imports = let ifExists = p: if builtins.pathExists p then p else {}; in [
./base.nix
"${self}/hosts/${hostname}" # (ifExists "${self}/hosts/${hostname}")
"${self}/hosts/${hostname}/configuration.nix"
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModule
#inputs.nix-index-database.nixosModules.nix-index # TODO: fix?

View File

@ -31,7 +31,7 @@
../../profiles/http/services/cinny.nix
../../profiles/http/services/element.nix
../../profiles/http/services/flexget.nix
../../profiles/http/services/gitea.nix
#../../profiles/http/services/gitea.nix
#../../profiles/http/services/hydra.nix
../../profiles/http/services/invidious.nix
#../../profiles/http/services/rss-bridge.nix # TODO: move out of home net

View File

@ -20,6 +20,14 @@ update:
@mkdir -p .direnv/
@echo "$(date +%Y-%m-%d)" > .direnv/pull-date
@update-select:
git reset flake.lock
git restore flake.lock
nix eval .#inputs --apply builtins.attrNames --json \
| jq '.[]' -r \
| gum choose --no-limit --height=15 \
| xargs nix flake update --commit-lock-file
build:
nixos-rebuild build --accept-flake-config --show-trace --flake .

View File

@ -20,6 +20,7 @@
firefox
pavucontrol
lxterminal
gnome.gnome-tweaks
# TODO: shadow gnome-terminal
ffmpegthumbnailer
libheif # HEIF thumbnails

View File

@ -36,6 +36,14 @@ in
services.nginx.recommendedProxySettings = true;
services.nginx.recommendedTlsSettings = true;
# nginx return 444 for all nonexistent virtualhosts
services.nginx.virtualHosts."_" = {
addSSL = true;
sslCertificate = "${pkgs.path}/nixos/tests/common/acme/server/acme.test.cert.pem";
sslCertificateKey = "${pkgs.path}/nixos/tests/common/acme/server/acme.test.key.pem";
extraConfig = "return 444;";
};
/** /
services.nginx.virtualHosts."" = {
default = true;

View File

@ -36,7 +36,7 @@
if test -d "$src"; then
(set -x
rm -v "$dst"
cp -r --dereference --one-file-system "$src/" "$dst/" )
cp -r --dereference --one-file-system "$src/" "$dst/"
chmod -R +rw "$dst"
)
elif test -f "$src"; then