mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-25 02:56:05 +01:00
read phone number from secrets
This commit is contained in:
parent
b7b74b47b3
commit
cd0b6ecfc8
@ -3,8 +3,9 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
contact_name = "Daniel Langbein";
|
||||
# TODO: move phone number to secret file
|
||||
contact_phone = "+49 xxx yyy";
|
||||
# The file `phone-number` contains only one line with our phone number, e.g. +49 0173 ...
|
||||
# Be aware that the phone number will be written to the nix store in plaintext!
|
||||
contact_phone = (builtins.readFile ../secrets/phone-number);
|
||||
contact_mail = "daniel@systemli.org";
|
||||
|
||||
# https://wiki.nixos.org/wiki/Shell_Scripts
|
||||
@ -36,7 +37,10 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
# Plymouth boot splash screen.
|
||||
# We found no non-graphical solution to print the contact info with systemd initrd.
|
||||
# Workaround: Run a dummy service that has the contact info as service name ...
|
||||
#
|
||||
# Alternative: Use Plymouth for a graphical boot splash screen.
|
||||
# TODO: Only on graphical installations!
|
||||
#
|
||||
# To see the splash screen. https://wiki.archlinux.org/title/Plymouth#Installation
|
||||
|
Loading…
Reference in New Issue
Block a user