nixos,profiles,core: fancy getty greeting message
This commit is contained in:
parent
164edd02cc
commit
eb0d88872b
1 changed files with 14 additions and 5 deletions
|
@ -1,4 +1,8 @@
|
||||||
{config, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# Imported by default, check out ./desktop.nix or ./server.nix
|
# Imported by default, check out ./desktop.nix or ./server.nix
|
||||||
imports = [
|
imports = [
|
||||||
../../modules # idk where should i import it
|
../../modules # idk where should i import it
|
||||||
|
@ -25,10 +29,15 @@
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
services = {
|
services = {
|
||||||
getty.greetingLine = ''
|
getty.greetingLine = lib.strings.concatLines [
|
||||||
NixOS ${config.system.nixos.label} ${config.system.nixos.codeName} (\m) - \l
|
''NixOS ${config.system.nixos.label} ${config.system.nixos.codeName} (\m) - \l''
|
||||||
--my-next-gpu-wont-be-nvidia
|
|
||||||
'';
|
(lib.strings.optionalString config.myFlake.nixos.hardware.gpu.nvidia.enable
|
||||||
|
"--my-next-gpu-wont-be-nvidia")
|
||||||
|
|
||||||
|
(lib.strings.optionalString config.myFlake.nixos.hardware.gpu.amd.enable
|
||||||
|
"[ 5.996722] amdgpu 0000:67:00.0: Fatal error during GPU init--my-next-gpu-wont-be-nvidia")
|
||||||
|
];
|
||||||
|
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue