Skip to content

Commit

Permalink
feat: add wisp system
Browse files Browse the repository at this point in the history
  • Loading branch information
comfysage committed Dec 1, 2024
1 parent d600bff commit 3912176
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
4 changes: 4 additions & 0 deletions systems/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,9 @@ in
laptop
graphical
];

wisp.modules = [
wsl
];
};
}
72 changes: 72 additions & 0 deletions systems/wisp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
garden = {
device = {
type = "wsl";
cpu = null;
gpu = null;
hasTPM = true;
monitors = [ ];
hasBluetooth = true;
hasSound = false;
keyboard = "us";
};

system = {
mainUser = "comfy";
users = ["comfy"];

boot = {
loader = "none";
secureBoot = false;
tmpOnTmpfs = true;
enableKernelTweaks = true;
loadRecommendedModules = true;
plymouth.enable = false;

initrd = {
enableTweaks = true;
optimizeCompressor = true;
};
};

fs.support = [
"ext4"
"vfat"
];
video.enable = false;
sound.enable = false;
bluetooth.enable = false;
yubikeySupport.enable = false;

security = {
auditd.enable = true;
};

networking = {
optimizeTcp = true;
};

virtualization = {
enable = false;
docker.enable = false;
qemu.enable = false;
podman.enable = false;
distrobox.enable = false;
};
};

environment = {
desktop = null;
useHomeManager = true;
};

programs = {
cli = {
enable = true;
modernShell.enable = true;
};
tui.enable = true;
gui.enable = false;
};
};
}

0 comments on commit 3912176

Please sign in to comment.