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
|
||||
let
|
||||
base-domain = "005540.xyz";
|
||||
in
|
||||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./firewall.nix
|
||||
(import ./acme.nix { base-domain = "005540.xyz"; })
|
||||
(import ./acme.nix { inherit base-domain; })
|
||||
(import ./sourcehut.nix { inherit base-domain; })
|
||||
./userprogs.nix
|
||||
./sourcehut.nix
|
||||
];
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# vim: tabstop=2 shiftwidth=2 expandtab
|
||||
{ base-domain, ... }:
|
||||
let
|
||||
base-domain = "005540.xyz";
|
||||
fqdn = "sourcehut.${base-domain}";
|
||||
in
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue