| 28 Feb 2025 |
balanced_design | I was trying to craft a command for both being in the home/nixos directory. | 11:55:59 |
K900 | path/to/your/flake/directory can be any path on any filesystem | 11:58:24 |
K900 | Also, if your actual goal is to just have the configuration somewhere you can edit it without being root, you can just nixos-rebuild switch -I nixos-config=path/to/your/configuration.nix | 11:58:48 |
K900 | It does not need to be in /etc or in any other specific location, the path can be anything | 11:58:59 |
balanced_design | Yah the command I was running combined both those functions,
nixos-rebuild switch -I nixos-config=path/to/your/configuration.nix --flake path/to/your/flake/directory#nameOfTheOutput but I couldnt find much online of people actually using both path customizations at the same time so I wasnt sure if that was why I was failing to get a successful rebuild switch. | 12:02:23 |
K900 | Yeah that makes no sense | 12:02:36 |
K900 | You either need to provide a configuration.nix or a flake.nix | 12:02:43 |
K900 | You can't have both | 12:02:48 |
balanced_design | Multiple documentations seemed to imply to me otherwise. But then again Im trying to figure out things from documentation that many times is only a couple sentences for each section. | 12:05:11 |
balanced_design | Thats really good to knw | 12:05:16 |
balanced_design | * Thats really good to know | 12:05:18 |
balanced_design | thank you | 12:05:22 |
K900 | Generally you want to have a single entry point | 12:05:28 |
K900 | If it's a configuration.nix, provide that | 12:05:35 |
K900 | If it's a flake.nix, provide that | 12:05:40 |
balanced_design | ok after some more thought I figured out how I got to my wrong conclusion. | 12:08:11 |
balanced_design | Thank you so much <3 | 12:09:10 |
| 1 Mar 2025 |
| @achnazoor:matrix.org left the room. | 12:44:16 |
| 3 Mar 2025 |
| pykee03 joined the room. | 23:22:18 |
| 5 Mar 2025 |
98765abc | Redacted or Malformed Event | 11:34:20 |
98765abc | Redacted or Malformed Event | 11:35:55 |
98765abc | * Hi guys.I'm running gdbserver of probers.exe(windows version by binfmt) inside WSL.
I'm not sure why I need to run two commands simultaneously to access the GDB port of probe-rs in WSL.
The network mode is mirrored.Any suggestion? | 11:36:36 |
| 6 Mar 2025 |
| cepheus joined the room. | 16:38:23 |
| cepheus changed their display name from cepheus (Old) to cepheus. | 16:39:34 |
| 7 Mar 2025 |
| Qyriad changed their display name from Qyriad to qyriad. | 16:38:54 |
| 8 Mar 2025 |
| Qyriad changed their display name from qyriad to Qyriad. | 21:41:03 |
| 9 Mar 2025 |
balanced_design | I cannot get a configuration in the home directory to work. All of these dont work with a configuration.nix in home/nixos while the working directory is the normal default startup directory of home/nixos:
- sudo nixos-rebuild switch --upgrade-all -I nixos-config=configuration.nix
- sudo nixos-rebuild switch --upgrade-all -I nixos-config=home/nixos/configuration.nix
- sudo nixos-rebuild switch --upgrade-all -I nixos-config=/home/nixos/configuration.nix
- sudo nixos-rebuild switch --upgrade-all -I nixos-config=~/configuration.nix
sudo nixos-rebuild switch --upgrade-all works though but targets /etc/nixos/configuration.nix
| 11:02:28 |
K900 | What do you mean by "don't work"? | 11:03:32 |
balanced_design |  Download image.png | 11:04:35 |
balanced_design | Error messages are differenat for each | 11:04:37 |