summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systems/glados-wsl/default.nix8
-rw-r--r--systems/glados/boot.nix4
2 files changed, 10 insertions, 2 deletions
diff --git a/systems/glados-wsl/default.nix b/systems/glados-wsl/default.nix
index ebe0f74..ab4d23f 100644
--- a/systems/glados-wsl/default.nix
+++ b/systems/glados-wsl/default.nix
@@ -14,11 +14,13 @@
archetypes.personal.enable = true;
base = {
+ # these don't work well on wsl
networking.enable = false;
security.enable = false;
};
environment = {
+ # i occasionally use graphics stuff
noXlibs = lib.mkForce false;
systemPackages = with pkgs; [
wget
@@ -36,13 +38,15 @@
wsl = {
enable = true;
+
defaultUser = "seth";
+ interop.includePath = false; # this is so annoying
nativeSystemd = true;
+ startMenuLaunchers = false; # ditto
+
wslConf.network = {
hostname = "glados-wsl";
generateResolvConf = true;
};
- startMenuLaunchers = false;
- interop.includePath = false;
};
}
diff --git a/systems/glados/boot.nix b/systems/glados/boot.nix
index 0aa6f9e..c88c82b 100644
--- a/systems/glados/boot.nix
+++ b/systems/glados/boot.nix
@@ -8,7 +8,9 @@
imports = [ inputs.lanzaboote.nixosModules.lanzaboote ];
environment.systemPackages = with pkgs; [
+ # manual lanzaboote maintenance (NOTE: i have not actually used this since ~2022)
sbctl
+ # TODO: is this actually required for using `tpm2-device=auto` to unlock LUKS volumes in initrd? probably
tpm2-tss
];
@@ -18,6 +20,7 @@
kernelParams = [ "amd_pstate=active" ];
+ # lanzaboote replaces this
loader.systemd-boot.enable = lib.mkForce false;
lanzaboote = {
@@ -25,6 +28,7 @@
pkiBundle = "/etc/secureboot";
};
+ # for game drive
supportedFilesystems = [ "ntfs" ];
};
}