!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

338 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
14 Nov 2024
@litelotus:matrix.orgLiteLotushttps://git.litelot.us/litelotus/.nixos/src/branch/main/flake.nix20:38:30
@k900:0upti.meK900Hold on20:38:41
@k900:0upti.meK900Do you even have NixOS running on WSL?20:38:45
@litelotus:matrix.orgLiteLotusyes20:38:49
@k900:0upti.meK900And how did you get it there?20:38:55
@k900:0upti.meK900Did you download a tarball from the nixos-wsl repo?20:39:02
@litelotus:matrix.orgLiteLotusfollowed the instructions in the github20:39:06
@litelotus:matrix.orgLiteLotusyh20:39:07
@k900:0upti.meK900That should have a starter configuration in /etc/nixos/configuration.nix20:39:12
@k900:0upti.meK900Which also shows you how to import the modules20:39:21
@litelotus:matrix.orgLiteLotusthats what the config in there is based off of20:39:27
@litelotus:matrix.orgLiteLotusnot on mine20:39:31
@k900:0upti.meK900Did you download the release tag or the CI build?20:39:57
@litelotus:matrix.orgLiteLotusrelease20:40:09
@k900:0upti.meK900Then possibly yes20:40:22
@k900:0upti.meK900I'm not sure when exactly the default config template was added20:40:33
@k900:0upti.meK900Also, for flakes, we have a page in the docs: https://nix-community.github.io/NixOS-WSL/how-to/nix-flakes.html20:40:37
@litelotus:matrix.orgLiteLotusshould i be able to just import that flake?20:41:05
@k900:0upti.meK900What "that" flake?20:42:03
@k900:0upti.meK900The example is just that, an example20:42:26
@litelotus:matrix.orgLiteLotusnixos-wsl20:42:27
@k900:0upti.meK900But you can copy what the example does20:42:30
@k900:0upti.meK900To get the right modules20:42:34
@litelotus:matrix.orgLiteLotusyeah thats what i mean20:42:37
@k900:0upti.meK900You can, and even should20:42:47
@litelotus:matrix.orgLiteLotusok, but now im confused on where to import the module20:47:45
@k900:0upti.meK900Anywhere you would import a module into your configuration20:48:10
@k900:0upti.meK900Just like you already do with whatever other modules you're importing20:48:17
@litelotus:matrix.orgLiteLotusok, ive added it into the flake.nix file20:49:08
@litelotus:matrix.orgLiteLotusbut im not sure how to reference it20:49:13

Show newer messages


Back to Room ListRoom Version: 9