added stuff
This commit is contained in:
parent
6d31f5b5a1
commit
7d4f626b7d
907 changed files with 70990 additions and 0 deletions
7
nyx/hosts/leto/modules/default.nix
Normal file
7
nyx/hosts/leto/modules/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./device.nix
|
||||
./system.nix
|
||||
./usrEnv.nix
|
||||
];
|
||||
}
|
10
nyx/hosts/leto/modules/device.nix
Normal file
10
nyx/hosts/leto/modules/device.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
config.modules.device = {
|
||||
type = "server";
|
||||
cpu.type = "intel";
|
||||
gpu.type = null;
|
||||
hasBluetooth = false;
|
||||
hasSound = false;
|
||||
hasTPM = false;
|
||||
};
|
||||
}
|
34
nyx/hosts/leto/modules/system.nix
Normal file
34
nyx/hosts/leto/modules/system.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
config.modules.system = {
|
||||
mainUser = "notashelf";
|
||||
fs = ["vfat" "exfat" "ext4"];
|
||||
video.enable = false;
|
||||
sound.enable = false;
|
||||
bluetooth.enable = false;
|
||||
printing.enable = false;
|
||||
|
||||
boot = {
|
||||
secureBoot = false;
|
||||
loader = "grub";
|
||||
enableKernelTweaks = true;
|
||||
initrd.enableTweaks = true;
|
||||
loadRecommendedModules = true;
|
||||
tmpOnTmpfs = false;
|
||||
};
|
||||
|
||||
virtualization = {
|
||||
enable = true;
|
||||
qemu.enable = true;
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
optimizeTcp = false;
|
||||
tailscale = {
|
||||
enable = false;
|
||||
isServer = true;
|
||||
isClient = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
6
nyx/hosts/leto/modules/usrEnv.nix
Normal file
6
nyx/hosts/leto/modules/usrEnv.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
config.modules.usrEnv = {
|
||||
useHomeManager = true;
|
||||
isWayland = false;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue