hi, I’m quite new to nix and home-manager, I’m trying to install a nerd font with home-manager (standalone) on my macbook, but upon running home-manager switch
I received this log
/nix/store/1h315nql7wgxl4ngiiasdbnbmibybyl4-home-manager-generation
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLaunchAgents
Activating checkLinkTargets
Activating writeBoundary
Activating copyFonts
install: cannot create directory '/home/tanhopdo': Operation not supported
my home.nix
looks like this
{ config, pkgs, libs, ... }: {
home.username = "tanhopdo";
home.homeDirectory = "/home/tanhopdo";
home.stateVersion = "22.11"; # To figure this out you can comment out the line and see what version it expected.
programs.home-manager.enable = true;
fonts.fontconfig.enable = true;
home.packages = [
pkgs.atuin
pkgs.fd
pkgs.fzf
pkgs.ffmpeg
pkgs.git
pkgs.neovim
pkgs.fontconfig
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
pkgs.imgcat
pkgs.btop
pkgs.ripgrep
pkgs.tree
pkgs.mc
pkgs.gh
pkgs.exa
pkgs.rbenv
pkgs.zoxide
pkgs.fnm
pkgs.bat
pkgs.lazygit
pkgs.karabiner-elements
pkgs.yq-go # yaml, json and xml processor
pkgs.gnugrep # for nix-direnv
pkgs.bash
pkgs.zsh
pkgs.tmux
];
...
Do you guys know what caused the problem? I searched everywhere but couldn’t find an answer. Thank you so much!