chore: make sourcehut take the base-domain as an argument
This commit is contained in:
parent
65e8baabba
commit
8412cb21d7
2 changed files with 6 additions and 3 deletions
|
|
@ -1,11 +1,14 @@
|
||||||
# vim: tabstop=2 shiftwidth=2 expandtab
|
# vim: tabstop=2 shiftwidth=2 expandtab
|
||||||
|
let
|
||||||
|
base-domain = "005540.xyz";
|
||||||
|
in
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
(import ./acme.nix { base-domain = "005540.xyz"; })
|
(import ./acme.nix { inherit base-domain; })
|
||||||
|
(import ./sourcehut.nix { inherit base-domain; })
|
||||||
./userprogs.nix
|
./userprogs.nix
|
||||||
./sourcehut.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# vim: tabstop=2 shiftwidth=2 expandtab
|
# vim: tabstop=2 shiftwidth=2 expandtab
|
||||||
|
{ base-domain, ... }:
|
||||||
let
|
let
|
||||||
base-domain = "005540.xyz";
|
|
||||||
fqdn = "sourcehut.${base-domain}";
|
fqdn = "sourcehut.${base-domain}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue