Skip to content

Commit 4544701

Browse files
authored
Allow setting wsl default user in the default nix config of the generated tarball
1 parent be61864 commit 4544701

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
- name: Setup WSL 🐧
4747
run: |
4848
wsl --update
49+
Get-Command wsl
4950
wsl --version
5051
5152
- name: Execute Test 🧪

modules/build-tarball.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let
3030
];
3131
3232
wsl.enable = true;
33-
wsl.defaultUser = "nixos";
33+
wsl.defaultUser = "${config.wsl.defaultUser}";
3434
3535
# This value determines the NixOS release from which the default
3636
# settings for stateful data, like file locations and database versions

0 commit comments

Comments
 (0)