| 25 Aug 2025 |
Pierre Carrier | yeah just set BROWSER. feels not ideal to add another env variable but that'll do for now | 16:13:13 |
Simon.Sieben@mailbox.tu-dresden.de | Redacted or Malformed Event | 16:13:38 |
| 26 Aug 2025 |
Pierre Carrier | wow, everyt | 00:04:37 |
Pierre Carrier | * wow, everything kinda just works hu | 00:04:48 |
Pierre Carrier | I know very little of what was required, but kudos | 00:05:04 |
Pierre Carrier | sorry, this is off topic, but if I want to ssh into my nixos-wsl from anywhere, is there much I have to do? I use networkingMode mirrored. unfortunately interacting with this particular install is rather time consuming and difficult so I can't tinker fast | 17:28:12 |
K900 | I'd maybe just run something like Tailscale inside the VM | 17:28:39 |
Pierre Carrier | perfect. and to make sure the VM is always running? | 17:29:13 |
K900 | There's a setting in .wslconfig for how long the VM is kept alive for | 17:29:43 |
Pierre Carrier | thanks. that and a startup script to run wsl exit 0 should do it then | 17:30:14 |
Pierre Carrier | yup I'm all set I believe. thanks so much | 17:35:53 |
Pierre Carrier | once I have a fully running system, can I image it using nix? not a fork of the nixos-wsl repo but everything in my flake: system config, user with home-manager, etc. I'd like to be able to restore my system in one command without exporting with wsl which lives temp files etc. in the backup | 17:37:39 |
Pierre Carrier | * once I have a fully running system, can I image it using nix? not a fork of the nixos-wsl repo but everything in my flake: system config, user with home-manager, etc. I'd like to be able to restore my system in one command without exporting with wsl which leaves temp files etc. in the backup | 17:37:52 |
K900 | What do you mean by "image"? | 17:38:10 |
K900 | Generate a NixOS config from a system that you set up manually? No | 17:38:18 |
Pierre Carrier | create a .wsl file | 17:38:19 |
K900 | Build a .wsl file from a NixOS config (with the WSL modules included)? Yes | 17:38:37 |
Pierre Carrier | that I can restore on other machines in as little time as possible. double click and go | 17:38:40 |
nzbr (they/it) | It should be possible (wsl --export I think), but I don't know if it will work well | 17:39:34 |
K900 | I think what they want is to build a tarball | 17:40:08 |
K900 | Which is yes a thing you can do | 17:40:13 |
Pierre Carrier | yeah --export has all the transient stuff I'd rather lose | 17:40:20 |
nzbr (they/it) | Building a .wsl file from your own config should work fine though. But I don't remember the command for doing that without flakes | 17:40:28 |
Pierre Carrier | as in, not carry around | 17:40:35 |
Pierre Carrier | I use flakes | 17:41:07 |
K900 | It should be nix-build <nixpkgs/nixos> -A config.system.build.tarballBuilder | 17:41:04 |
Pierre Carrier | https://github.com/pcarrier/nix | 17:41:20 |
K900 | Then it should be nix build .#nixosConfigurations.<hostname>.config.system.build.tarballBuilder | 17:41:22 |
Pierre Carrier | ah perfect appreciate it | 17:48:07 |
nzbr (they/it) | Does that automatically know to look in /etc/nixos/configuration.nix? | 17:50:23 |