rix101/machines/nix-on-droid/aarch64-linux/cheetah/configuration.nix
reo101 bed4f58f5f
chore(cheetah)!: update config
Use flake overlays in `mkNixOnDroidHost`
Fix `FireCode` `ttf` path in `terminal.font`
Use `pkgs.nixUnstable`
2024-01-04 01:05:54 +02:00

38 lines
918 B
Nix

{ inputs, outputs, lib, pkgs, config, ... }:
{
environment.packages = with pkgs; [ ];
# Backup etc files instead of failing to activate generation if a file already exists in /etc
environment.etcBackupExtension = ".bak";
# Remove motd
environment.motd = null;
# # Set $EDITOR
# environment.variables.EDITOR = "nvim";
user.shell = "${pkgs.zsh}/bin/zsh";
# Read the changelog before changing this value
system.stateVersion = "22.11";
nix.extraOptions = ''
experimental-features = nix-command flakes repl-flake recursive-nix
keep-outputs = true
keep-derivations = true
'';
nix.package = pkgs.nixUnstable;
time.timeZone = "Europe/Sofia";
terminal.font =
let
firacode = pkgs.nerdfonts.override {
fonts = [ "FiraCode" ];
};
fontPath = "share/fonts/truetype/NerdFonts/FiraCodeNerdFontMono-Regular.ttf";
in
"${firacode}/${fontPath}";
}