Skip to content

Commit 45ced66

Browse files
committed
fix nix build from source
1 parent 9c8643d commit 45ced66

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/InteractiveInstaller.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ const selectedEnv = ref<string>(environments[1] || '');
2626
const selectedInit = ref<string>(initSystems[0] || 'systemd');
2727
2828
const needsUserCreation = computed(() => {
29-
return selectedInit.value !== 'systemd' || selectedMethod.value === 'Source';
29+
return (
30+
selectedDistro.value !== 'NixOS' &&
31+
(selectedInit.value !== 'systemd' || selectedMethod.value === 'Source')
32+
);
3033
});
3134
3235
const needsSourceSteps = computed(() => {
33-
return selectedMethod.value === 'Source';
36+
return selectedDistro.value !== 'NixOS' && selectedMethod.value === 'Source';
3437
});
3538
3639
const nixosServerBlocks: StepBlock[] = [

0 commit comments

Comments
 (0)