can't set up font
plchldr-jm opened this issue · comments
Jim commented
-bash-5.2$ cat .config/nixpkgs/nix-on-droid.nix
{ config, lib, pkgs, ... }:
{
# Simply install just the packages
environment.packages = with pkgs; [
# User-facing stuff that you really really want to have
#vim # or some other editor, e.g. nano or neovim
ed
nano
dejavu_fonts
# Some common stuff that people expect to have
#diffutils
#findutils
#utillinux
#tzdata
#hostname
#man
#gnugrep
#gnupg
#gnused
#gnutar
#bzip2
#gzip
#xz
#zip
#unzip
];
# Backup etc files instead of failing to activate generation if a file already exists in /etc
environment.etcBackupExtension = ".bak";
# Read the changelog before changing this value
system.stateVersion = "23.11";
# Set up nix for flakes
#nix.extraOptions = ''
# experimental-features = nix-command flakes
#'';
# Set your time zone
#time.timeZone = "Europe/Berlin";
# After installing home-manager channel like
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
# nix-channel --update
# you can configure home-manager in here like
#home-manager = {
# useGlobalPkgs = true;
#
# config =
# { config, lib, pkgs, ... }:
# {
# # Read the changelog before changing this value
# home.stateVersion = "23.11";
#
# # insert home-manager config
# };
#};
terminal.enable = true ;
termimal.font= "${pkgs.dejavu_fonts}/share/fonts/truetype/DejaVuSansMono.ttf";
}
# vim: ft=nix
-bash-5.2$ nix-on-droid switch
Building activation package...
error:
… while evaluating a branch condition
at /nix/store/r12551skwqbc06aqc401c782vrykkp4n-nix-on-droid-23.11.tar.gz/nix-on-droid/modules/default.nix:30:5:
29| module =
30| if failedAssertions != [ ]
| ^
31| then throw "\nFailed assertions:\n${concatMapStringsSep "\n" (x: "- ${x}") failedAssertions}"
… while calling the 'map' builtin
at /nix/store/r12551skwqbc06aqc401c782vrykkp4n-nix-on-droid-23.11.tar.gz/nix-on-droid/modules/default.nix:27:22:
26|
27| failedAssertions = map (x: x.message) (filter (x: !x.assertion) rawModule.config.assertions);
| ^
28|
(stack trace truncated; use '--show-trace' to show the full trace)
error: The option `termimal' does not exist. Definition values:
- In `/data/data/com.termux.nix/files/home/.config/nixpkgs/nix-on-droid.nix':
{
font = "/nix/store/zxi6gnf49w58v6hhr23z548wlcz7p1f6-dejavu-fonts-2.37/share/fonts/truetype/DejaVuSansMono.ttf";
}
-bash-5.2$
``
Alexander Sosedkin commented
terminal.enable = true ;
This one does not exist.
Jim commented
commented the enable line out, same error
Alexander Sosedkin commented
termimal
terminal
Jim commented
oh thanks
i can't believe i made another typo today
solved