diff options
| author | seth <[email protected]> | 2023-02-18 05:13:27 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-18 05:13:27 -0500 |
| commit | 1d7b04a71c7222153ffa9cd48f73b51ea72204d1 (patch) | |
| tree | 3d794209be0e2311dc76337c09c2cb39c52f6afb /flake.nix | |
| parent | 8a8059d9889afcbcd8a133b0b186e3a97ce7ac23 (diff) | |
major refactor
- `mkHost` now accepts an optional `specialArgs` argument to be passed to
`nixosSystem()`
- the `modules` argument for `mkHMUser` is now optional
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -26,11 +26,7 @@ username = "seth"; stateVersion = "23.05"; channel = nixpkgsUnstable; - modules = [ - ({config, ...}: { - config.seth.standalone = true; - }) - ]; + modules = []; }; }; @@ -45,7 +41,10 @@ ./users/seth ]; - + specialArgs = { + desktop = "gnome"; + wsl = false; + }; version = "23.05"; pkgs = nixpkgsUnstable; }) @@ -54,8 +53,7 @@ modules = [ nixos-wsl.nixosModules.wsl - ({lib, ...}: { - environment.noXlibs = lib.mkForce false; + { wsl = { enable = true; defaultUser = "seth"; @@ -64,12 +62,16 @@ startMenuLaunchers = false; interop.includePath = false; }; - }) + } ./users/seth ]; - - pkgs = nixpkgs; + specialArgs = { + desktop = ""; + wsl = true; + }; + version = "23.05"; + pkgs = nixpkgsUnstable; }); }; } |
