summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/common.nix4
-rw-r--r--modules/www.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/common.nix b/modules/common.nix
index db6ea85..354f04b 100644
--- a/modules/common.nix
+++ b/modules/common.nix
@@ -17,13 +17,13 @@
users.motd = ''
/^ /^
-\ ' ' 7 < Hi, I'm ${util.titleCase me}
+\ ' ' 7 < Hi, I'm ${util.titleCase me.name}
/ \
'';
networking = {
- hostName = me;
+ hostName = me.name;
firewall = {
enable = true;
diff --git a/modules/www.nix b/modules/www.nix
index 1df69cf..6e84ec0 100644
--- a/modules/www.nix
+++ b/modules/www.nix
@@ -2,9 +2,9 @@
let
rnrdUrl =
- if me == "renard"
+ if me.renard
then "rnrd.eu"
- else "${me}.rnrd.eu";
+ else "${me.name}.rnrd.eu";
in
{
security.acme = {