home-manager font-config gets backed up every time. Is this because of KDE?

top-level-nix
Pegasust 2022-12-21 23:42:59 +00:00
parent 89a41c6ad7
commit e827efcedf
3 changed files with 5 additions and 1 deletions

View File

@ -91,4 +91,7 @@ in
# https://github.com/nix-community/home-manager/pull/3287 # https://github.com/nix-community/home-manager/pull/3287
# extraConfig = builtins.readFile "${proj_root}/neovim/init.lua"; # extraConfig = builtins.readFile "${proj_root}/neovim/init.lua";
}; };
# not exist in home-manager
# have to do it at system level
# services.ntp.enable = true; # automatic time
} }

View File

@ -61,6 +61,7 @@ with lib;
# inherit services; # inherit services;
services = lib.recursiveUpdate _services { services = lib.recursiveUpdate _services {
tailscale.enable = true; tailscale.enable = true;
ntp.enable = true;
}; };
# create a oneshot job to authenticate to Tailscale # create a oneshot job to authenticate to Tailscale
systemd.services.tailscale-autoconnect = { systemd.services.tailscale-autoconnect = {

View File

@ -12,7 +12,7 @@ HOME_MANAGER_DIR="${SCRIPT_DIR}/../nix-conf/home-manager"
if [ $(home-manager >/dev/null 2>&1) ]; then if [ $(home-manager >/dev/null 2>&1) ]; then
nix-shell -p home-manager --run "home-manager switch --flake $HOME_MANAGER_DIR" nix-shell -p home-manager --run "home-manager switch --flake $HOME_MANAGER_DIR"
else else
home-manager switch --flake "$HOME_MANAGER_DIR" home-manager switch -b backup --flake "$HOME_MANAGER_DIR"
fi fi