| 6 Sep 2024 |
K900 | Uhh | 14:21:37 |
K900 | That sounds like systemd might not be starting | 14:21:43 |
K900 | Oh wait | 14:21:44 |
K900 | OH WAIT. | 14:21:45 |
K900 | Oh. Wait. | 14:21:47 |
K900 | cat /proc/cmdline? | 14:21:58 |
rosssmyth | When, any time? | 14:22:19 |
K900 | Any time | 14:22:30 |
rosssmyth | initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=19 hv_utils.timesync_implicit=1 console=hvc0 debug pty.legacy_count=0 | 14:22:41 |
K900 | OK yeah | 14:22:47 |
K900 | In reply to@k900:0upti.me Do you have
[wsl2]
kernelCommandLine = cgroup_no_v1=all
in your .wslconfig? ^ do this | 14:23:21 |
K900 | Otherwise your systemd is not starting | 14:23:29 |
rosssmyth | Okie dokie | 14:23:37 |
K900 | @silver same problem probably actually | 14:23:52 |
rosssmyth | That worked! | 14:24:40 |
rosssmyth | Thanks. | 14:24:42 |
| Krusl Lee joined the room. | 14:57:03 |
| common16 joined the room. | 14:57:05 |
| bumperboat joined the room. | 14:57:35 |
common16 | Hey everyone. Does anyone have an example handy of how I can configure git to use my /mnt/c/.../git-credentials-manager.exe and /mnt/c/Users/common/.gitconfig in my flake.nix that way they're auto-set when I start WSL? | 15:30:08 |
rosssmyth | for the latter can probably use $GIT_CONFIG_SYSTEM in your shell startup config | 15:35:09 |
rosssmyth | It will be slower but may be acceptable for you | 15:35:24 |
common16 | Is it faster to copy it into WSL instead (if possible)? | 15:36:08 |
rosssmyth | Yeah. tbh in my experience I don't notice too much of slow down accessing the host filesystem, I work in Windows directories all the time. Try it out and see is what I would do. | 15:36:58 |
rosssmyth | * Yeah. tbh in my experience I don't notice too much of slow down accessing the host filesystem, I work in and compile things in Windows directories all the time. Try it out and see is what I would do. | 15:37:12 |
common16 | I'm still very new to NixOS. Would you be able to help me add that into my flake.nix? http://pastie.org/p/6iQbsvLMpkdYEiiWqLGDh1 | 15:37:57 |
rosssmyth | If you can put it on a site with working HTTPS/TLS then yes. But the gist is to do something like
programs.fish.shellInit = ''
set -gx GIT_CONFIG_SYSTEM /some/path
''
| 15:42:42 |
rosssmyth | * If you can put it on a site with working HTTPS/TLS then yes. But the gist is to do something like
programs.fish.shellInit = ''
set -gx GIT_CONFIG_SYSTEM /some/path
'';
| 15:43:12 |
rosssmyth | * If you can put it on a site with working HTTPS/TLS then yes. But the gist is to do something like
programs.fish.shellInit = ''
set -gx GIT_CONFIG_SYSTEM /some/path
'';
Or the equivalent for the shell you use
| 15:43:26 |
common16 | Ah let me try that. | 15:45:18 |