mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
Compare commits
No commits in common. "71b4504e10680f1d087cfc8412372538879ad520" and "cbd76b3e4483614b7d8b01afed0533983a6b3a64" have entirely different histories.
71b4504e10
...
cbd76b3e44
2 changed files with 39 additions and 44 deletions
42
flake.lock
generated
42
flake.lock
generated
|
|
@ -22,11 +22,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734011192,
|
"lastModified": 1733168902,
|
||||||
"narHash": "sha256-NghuiWXx6Q3gwLiudiNwDpYQ1CPEUK7J+f9dWREN8KA=",
|
"narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "0f31ad735e784315a22d9899d3ba24340ce64220",
|
"rev": "785c1e02c7e465375df971949b8dcbde9ec362e5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -409,11 +409,11 @@
|
||||||
},
|
},
|
||||||
"master": {
|
"master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734065298,
|
"lastModified": 1733978256,
|
||||||
"narHash": "sha256-aKkxUZntc3+zQP+NEp+sAg+mtCICQ1GYjbOy5lTUstI=",
|
"narHash": "sha256-JSWAumioVHzcihVEutSMdWni9Mbm7hU9IJ41AvHLiS0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2cf707c042986bb0093791be0eaf3ad008035cf6",
|
"rev": "94b321638afed597e9bb528d45441c3fbfee2662",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -425,11 +425,11 @@
|
||||||
},
|
},
|
||||||
"mnw": {
|
"mnw": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734046916,
|
"lastModified": 1733360044,
|
||||||
"narHash": "sha256-+qBEMw8UoV9nN7HFtMtM+OFBBLeNhZW9Fcv//ruLdiA=",
|
"narHash": "sha256-iBXmh04Hzhk9QDuq71K+eLfpU3KSA09wsyjfJH7W4Uw=",
|
||||||
"owner": "gerg-l",
|
"owner": "gerg-l",
|
||||||
"repo": "mnw",
|
"repo": "mnw",
|
||||||
"rev": "46cb6dbb92f078d80ec01b5d2816a85c32d1e36a",
|
"rev": "da1ec3eb0eb748e16a12a3e4362f6a75d5ffbd4f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -449,11 +449,11 @@
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734048484,
|
"lastModified": 1733962285,
|
||||||
"narHash": "sha256-EtSEYNx19xzuEBJsT7yXG+nVx11CM3rvrAQAXcvG/5Q=",
|
"narHash": "sha256-djpjqhPZkqfe1USsuu+eT4ZyGO+dVvAf3l4FUCZEb6Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "044f9a36ad620a119ebe154c26ec571a09f75039",
|
"rev": "2025aef04baf723bfa4cb8225fc11a319a5681f1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -465,11 +465,11 @@
|
||||||
"neovim-src": {
|
"neovim-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734000357,
|
"lastModified": 1733924897,
|
||||||
"narHash": "sha256-8FO5Ca9bLEiD649b5gkQCdjpTmbPenJHpN0JBhtLpjE=",
|
"narHash": "sha256-Fxzl754uzyNebXW54LUliFliMbw30XG+bdb0AVtPSM0=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "17383870dd3b7f04eddd48ed929cc25c7e102277",
|
"rev": "442d338cb50e4cf08c58cb82b6d33b6d5df9fb1b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -685,11 +685,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734063741,
|
"lastModified": 1733977336,
|
||||||
"narHash": "sha256-8Nr2kntIMbDk4GC9GaQKn75MUw+6IR1UdsYvpmw19Gg=",
|
"narHash": "sha256-rxzLvbEPO7sm6wOMKb87EukGKSXUmviUMdYFNmqYIkU=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "nvim-flake",
|
"repo": "nvim-flake",
|
||||||
"rev": "c5425f5f22f6da86de5da74f6943b380bcc186d0",
|
"rev": "08a4f044937d93feed488f30b95109a6430f04d7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -849,11 +849,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734063436,
|
"lastModified": 1733977011,
|
||||||
"narHash": "sha256-wE1sIAnsjWbyXXjwC/+oxSFXFDCROiwLY1pSQ7pU9js=",
|
"narHash": "sha256-o01UQJJwQWKXYGTrBy2TBmtTeCVUPmoGKVQv9JQcICk=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "7981c1e87aa1adeec524524db52f75bf6598fb55",
|
"rev": "b13d7de63ad41b10bab6e96ad7aacbfa83ab1d26",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,16 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
local.nginx.defaultVhosts = builtins.mapAttrs (_: v: {
|
local.nginx.defaultVhosts =
|
||||||
locations."/".proxyPass = v;
|
{
|
||||||
}) config.local.nginx.proxyVhosts;
|
"_" = {
|
||||||
|
default = true;
|
||||||
|
locations."/".return = "404";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
// (builtins.mapAttrs (_: v: {
|
||||||
|
locations."/".proxyPass = v;
|
||||||
|
}) config.local.nginx.proxyVhosts);
|
||||||
|
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
gerg_ssl_key.owner = config.services.nginx.user;
|
gerg_ssl_key.owner = config.services.nginx.user;
|
||||||
|
|
@ -24,7 +31,6 @@
|
||||||
certs."gerg-l.com" = {
|
certs."gerg-l.com" = {
|
||||||
email = "GregLeyda@proton.me";
|
email = "GregLeyda@proton.me";
|
||||||
webroot = "/var/lib/acme/acme-challenge";
|
webroot = "/var/lib/acme/acme-challenge";
|
||||||
extraDomainNames = builtins.attrNames config.local.nginx.defaultVhosts;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -41,25 +47,14 @@
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
# For immich
|
# For immich
|
||||||
clientMaxBodySize = "50000M";
|
clientMaxBodySize = "50000M";
|
||||||
virtualHosts =
|
virtualHosts = builtins.mapAttrs (
|
||||||
builtins.mapAttrs
|
_: v:
|
||||||
(
|
{
|
||||||
_: v:
|
forceSSL = true;
|
||||||
{
|
useACMEHost = "gerg-l.com";
|
||||||
forceSSL = true;
|
}
|
||||||
useACMEHost = "gerg-l.com";
|
// v
|
||||||
}
|
) config.local.nginx.defaultVhosts;
|
||||||
// v
|
|
||||||
)
|
|
||||||
(
|
|
||||||
config.local.nginx.defaultVhosts
|
|
||||||
// {
|
|
||||||
"_" = {
|
|
||||||
default = true;
|
|
||||||
locations."/".return = "404";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue