summaryrefslogtreecommitdiff
path: root/hosts/glados-wsl/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-08 02:57:57 -0500
committerseth <[email protected]>2023-03-08 15:32:06 -0500
commitfa7a407bda1b26b413702287f227629af0798f55 (patch)
tree38cc9ae1791939a0f92a3f03d37a0249e62cdf1a /hosts/glados-wsl/default.nix
parent729db074dc1b93cab10b43119197c8e02a452405 (diff)
another major refactor
Diffstat (limited to 'hosts/glados-wsl/default.nix')
-rw-r--r--hosts/glados-wsl/default.nix29
1 files changed, 28 insertions, 1 deletions
diff --git a/hosts/glados-wsl/default.nix b/hosts/glados-wsl/default.nix
index af6e712..cb0854e 100644
--- a/hosts/glados-wsl/default.nix
+++ b/hosts/glados-wsl/default.nix
@@ -1,5 +1,32 @@
-{modulesPath, ...}: {
+{
+ lib,
+ modulesPath,
+ ...
+}: {
imports = [
(modulesPath + "/profiles/minimal.nix")
+ ../../profiles/nixos
+ ../../users/seth
];
+
+ wsl = {
+ enable = true;
+ defaultUser = "seth";
+ nativeSystemd = true;
+ wslConf.network = {
+ hostname = "glados-wsl";
+ generateResolvConf = true;
+ };
+ startMenuLaunchers = false;
+ interop.includePath = false;
+ };
+
+ services.resolved.enable = lib.mkForce false;
+ security = {
+ apparmor.enable = lib.mkForce false;
+ audit.enable = lib.mkForce false;
+ auditd.enable = lib.mkForce false;
+ };
+
+ system.stateVersion = "23.05";
}