mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-11 07:02:41 +02:00
fix: The following files have unrecognized content and would be overwritten: /etc/bashrc /etc/zshrc /etc/zshenv
This commit is contained in:
@@ -61,6 +61,9 @@ ha: darwin-set-proxy
|
|||||||
./result/sw/bin/darwin-rebuild switch --flake .#harmonica
|
./result/sw/bin/darwin-rebuild switch --flake .#harmonica
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
ha-rollback:
|
||||||
|
./result/sw/bin/darwin-rebuild rollback
|
||||||
|
|
||||||
ha-debug: darwin-set-proxy
|
ha-debug: darwin-set-proxy
|
||||||
nom build .#darwinConfigurations.harmonica.system --show-trace --verbose
|
nom build .#darwinConfigurations.harmonica.system --show-trace --verbose
|
||||||
./result/sw/bin/darwin-rebuild switch --flake .#harmonica --show-trace --verbose
|
./result/sw/bin/darwin-rebuild switch --flake .#harmonica --show-trace --verbose
|
||||||
|
|||||||
@@ -11,16 +11,23 @@
|
|||||||
#
|
#
|
||||||
###################################################################################
|
###################################################################################
|
||||||
|
|
||||||
|
# Fix: https://github.com/LnL7/nix-darwin/issues/149#issuecomment-1741720259
|
||||||
|
# nix is installed via DeterminateSystems's nix-installer.
|
||||||
|
environment.etc."zshrc".knownSha256Hashes = [
|
||||||
|
"b9902f2020c636aeda956a74b5ae11882d53e206d1aa50b3abe591a8144fa710"
|
||||||
|
];
|
||||||
|
environment.etc."bashrc".knownSha256Hashes = [
|
||||||
|
"204d2a960b3ab80e51748d3db0b63d940347ba71119ae6f14cccfec35da56cce"
|
||||||
|
];
|
||||||
|
environment.etc."zshenv".knownSha256Hashes = [
|
||||||
|
"383a89c1f79c3bcfd2ff39a2b73b5103d0303161b3be9eac88fce83e0789f0b7"
|
||||||
|
];
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Auto upgrade nix package and the daemon service.
|
# Auto upgrade nix package and the daemon service.
|
||||||
# services.nix-daemon.enable = false;
|
services.nix-daemon.enable = true;
|
||||||
#
|
|
||||||
# Use this instead of services.nix-daemon.enable if you
|
|
||||||
# don't wan't the daemon service to be managed for you.
|
|
||||||
nix.useDaemon = true;
|
|
||||||
|
|
||||||
nix.package = pkgs.nix;
|
nix.package = pkgs.nix;
|
||||||
|
|
||||||
# Disable auto-optimise-store because of this issue:
|
# Disable auto-optimise-store because of this issue:
|
||||||
|
|||||||
Reference in New Issue
Block a user