wow
This commit is contained in:
parent
1ab0263e27
commit
15091ac422
19 changed files with 2328 additions and 263 deletions
|
|
@ -23,7 +23,7 @@
|
|||
fcitx5 = {
|
||||
settings.globalOptions = {
|
||||
"Hotkey/TriggerKeys" = {
|
||||
"0" = "Hangul";
|
||||
"0" = "Alt_R";
|
||||
};
|
||||
"Hotkey/ActivateKeys" = {
|
||||
"0" = "Hangul_Hanja";
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
];
|
||||
|
||||
system.activationScripts.createIcon = "ln -sfn ${inputs.self}/assets/avatar.webp /var/lib/AccountsService/icons/imnyang";
|
||||
system.activationScripts.createIcon = "mkdir -p /var/lib/AccountsService/icons && ln -sfn ${inputs.self}/assets/avatar.webp /var/lib/AccountsService/icons/imnyang";
|
||||
|
||||
programs.fish.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,8 +50,9 @@
|
|||
"99-sign-all" = {
|
||||
text = ''
|
||||
if [ "$NIXOS_ACTION" = "switch" ] || [ "$NIXOS_ACTION" = "boot" ]; then
|
||||
echo "Signing all EFI binaries with sbctl..."
|
||||
|
||||
if [ -r /var/lib/sbctl/keys/db/db.key ]; then
|
||||
echo "Signing all EFI binaries with sbctl..."
|
||||
|
||||
# 1. 파일이 존재하는지 먼저 확인하고,
|
||||
# 2. 이미 등록되어 있다면 sign-all로 한 번에 처리하거나,
|
||||
# 3. 개별 파일에 대해 에러가 나도 스크립트가 중단되지 않도록 || true를 붙입니다.
|
||||
|
|
@ -66,7 +67,10 @@
|
|||
fi
|
||||
|
||||
# 4. 마지막으로 전체 서명 수행
|
||||
${pkgs.sbctl}/bin/sbctl sign-all || echo "Some files failed to sign, but continuing..."
|
||||
${pkgs.sbctl}/bin/sbctl sign-all || echo "Some files failed to sign, but continuing..."
|
||||
else
|
||||
echo "Skipping Secure Boot signing: sbctl keys are not initialized."
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue