mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-23 22:19:33 +01:00
read phone number from secrets
This commit is contained in:
parent
b7b74b47b3
commit
cd0b6ecfc8
@ -3,8 +3,9 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
contact_name = "Daniel Langbein";
|
contact_name = "Daniel Langbein";
|
||||||
# TODO: move phone number to secret file
|
# The file `phone-number` contains only one line with our phone number, e.g. +49 0173 ...
|
||||||
contact_phone = "+49 xxx yyy";
|
# 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";
|
contact_mail = "daniel@systemli.org";
|
||||||
|
|
||||||
# https://wiki.nixos.org/wiki/Shell_Scripts
|
# https://wiki.nixos.org/wiki/Shell_Scripts
|
||||||
@ -36,7 +37,10 @@ let
|
|||||||
};
|
};
|
||||||
in
|
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!
|
# TODO: Only on graphical installations!
|
||||||
#
|
#
|
||||||
# To see the splash screen. https://wiki.archlinux.org/title/Plymouth#Installation
|
# To see the splash screen. https://wiki.archlinux.org/title/Plymouth#Installation
|
||||||
|
Loading…
Reference in New Issue
Block a user