summaryrefslogtreecommitdiff
path: root/systems/glados-wsl
diff options
context:
space:
mode:
authorseth <[email protected]>2024-08-17 05:34:21 -0400
committerseth <[email protected]>2024-08-17 05:34:21 -0400
commit14e7f75507f566e8e143f0b55992fd406d1892c2 (patch)
treefdbbe90fc409bf60565a2554cfc9a042c96eba57 /systems/glados-wsl
parent483aecb7c27cac5b213647726b0aa2a7c378e968 (diff)
glados-wsl: cleanup nixos-wsl settings + don't use minimal profile
Diffstat (limited to 'systems/glados-wsl')
-rw-r--r--systems/glados-wsl/default.nix36
1 files changed, 9 insertions, 27 deletions
diff --git a/systems/glados-wsl/default.nix b/systems/glados-wsl/default.nix
index 50da718..efc53ef 100644
--- a/systems/glados-wsl/default.nix
+++ b/systems/glados-wsl/default.nix
@@ -1,15 +1,6 @@
+{ pkgs, inputs, ... }:
{
- lib,
- modulesPath,
- pkgs,
- inputs,
- ...
-}:
-{
- imports = [
- (modulesPath + "/profiles/minimal.nix")
- inputs.nixos-wsl.nixosModules.wsl
- ];
+ imports = [ inputs.nixos-wsl.nixosModules.wsl ];
archetypes.personal.enable = true;
@@ -23,14 +14,10 @@
};
};
- environment = {
- # i occasionally use graphics stuff
- noXlibs = lib.mkForce false;
- systemPackages = with pkgs; [
- wget
- wslu
- ];
- };
+ environment.systemPackages = with pkgs; [
+ wget
+ wslu
+ ];
networking.hostName = "glados-wsl";
@@ -42,15 +29,10 @@
wsl = {
enable = true;
-
defaultUser = "seth";
- interop.includePath = false; # this is so annoying
- nativeSystemd = true;
- startMenuLaunchers = false; # ditto
-
- wslConf.network = {
- hostname = "glados-wsl";
- generateResolvConf = true;
+ interop = {
+ includePath = false; # this is so annoying
+ register = true;
};
};
}