Compare commits

...

2 commits

Author SHA1 Message Date
chayleaf 3287c63244
change update script for ci branch 2023-11-26 01:15:18 +07:00
chayleaf c5cd7b6c12
bpi-r3: fix kernel config 2023-11-26 01:14:59 +07:00
2 changed files with 7 additions and 7 deletions

View file

@ -301,7 +301,7 @@ in rec {
MT76_CONNAC_LIB = module;
MT7815E = module;
MT7915E = module;
MT7986_WMAC = yes;
MT798X_WMAC = yes;
SPI_MT65XX = yes;
SPI_MTK_NOR = yes;
SPI_MTK_SNFI = yes;

View file

@ -7,9 +7,9 @@ mozilla-addons-to-nix \
./pkgs/firefox-addons/addons.json \
./pkgs/firefox-addons/generated.nix || echo "failed to update firefox addons"
nix flake update
if [ -z ${SUDO_ASKPASS+x} ]; then
sudo nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
else
sudo -A nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
fi
home-manager switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
#if [ -z ${SUDO_ASKPASS+x} ]; then
# sudo nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
#else
# sudo -A nixos-rebuild switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"
#fi
#home-manager switch --flake . --option extra-builtins-file "$(pwd)/extra-builtins.nix"