| 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 |
balanced_design | an example and a bit | 11:04:46 |
K900 | It's the rest of the error that's importan | 11:04:52 |
K900 | * It's the rest of the error that's important | 11:04:52 |
balanced_design | unpacking channels...
unpacking channels...
unpacking channels...
error:
… while evaluating the attribute 'config'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: undefined variable 'nixos-wsl'
at /home/nixos/configuration.nix:17:5:
16| <nixos-wsl/modules>
17| nixos-wsl.nixosModules.default
| ^
18| ];
building Nix...
error:
… while evaluating the attribute 'config'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: undefined variable 'nixos-wsl'
at /home/nixos/configuration.nix:17:5:
16| <nixos-wsl/modules>
17| nixos-wsl.nixosModules.default
| ^
18| ];
building the system configuration...
error:
… while evaluating the attribute 'config.system.build.toplevel'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18:
321| options = checked options;
322| config = checked (removeAttrs config [ "_module" ]);
| ^
323| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: undefined variable 'nixos-wsl'
at /home/nixos/configuration.nix:17:5:
16| <nixos-wsl/modules>
17| nixos-wsl.nixosModules.default
| ^
18| ];
| 11:05:31 |
balanced_design | Thats the error for sudo nixos-rebuild switch --upgrade-all -I nixos-config=/home/nixos/configuration.nix | 11:05:45 |
K900 | Yeah the issue is that your config is wrong | 11:05:54 |
balanced_design | I guess Ill give the error for each | 11:05:55 |
K900 | You're trying to import nixos-wsl both the channels way and the flakes way | 11:06:07 |
K900 | And you need to decide which one you're using | 11:06:13 |
K900 | You can't have both | 11:06:18 |
balanced_design | The configuration.nix is the default starting one with some comments? | 11:06:35 |
K900 | It's not | 11:06:40 |
K900 | nixos-wsl.nixosModules.default is something you added | 11:06:47 |
K900 | Remove that | 11:06:51 |
balanced_design | Ok wow your right, I thought I put the configuration bad to my copy of the starting one | 11:08:30 |
balanced_design | * Ok wow your right, I thought I put the configuration back to my copy of the starting one | 11:09:06 |
balanced_design | Sorry. Thank you so much | 11:09:42 |
balanced_design | I guess if I didnt have the comments I would have noticed I forgot to remove that line | 11:10:07 |
| 12 Mar 2025 |
| Jaco joined the room. | 19:58:27 |
| 13 Mar 2025 |
K900 | https://github.com/microsoft/WSL/releases/tag/2.5.1 | 02:10:20 |
K900 | They're trying to ship 6.6 again | 02:10:28 |
nzbr (they/it) | They also added a mount at /run/user, so we'll need to watch if that breaks again | 11:14:11 |
K900 | I'll update in a bit and check | 11:15:38 |
K900 | https://github.com/nix-community/NixOS-WSL/pull/641 | 12:18:04 |
K900 | OK this gets things back to mostly normal for me | 12:18:15 |