fix: set users.users.<name>.home for darwin system, bump home-manager to branch release-23.05

This commit is contained in:
admin
2023-06-01 10:40:11 +08:00
committed by ryan4yin
parent dd2040568d
commit 0d53bea851
5 changed files with 13 additions and 9 deletions

View File

@@ -51,10 +51,7 @@
# home-manager, used for managing user configuration
home-manager = {
# lock to the commit at 2023-05-20, to avoid breaking changes for darwin
# TODO error when using the master branch of home-manager:
# Error: HOME is set to "/Users/admin" but we expect "/var/empty"
url = "github:nix-community/home-manager/27ef11f0218d9018ebb2948d40133df2b1de622d";
url = "github:nix-community/home-manager/release-23.05";
# The `follows` keyword in inputs is used for inheritance.
# Here, `inputs.nixpkgs` of home-manager is kept consistent with the `inputs.nixpkgs` of the current flake,
# to avoid problems caused by different versions of nixpkgs dependencies.