added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
7
nyx/hosts/atlas/modules/default.nix
Normal file
7
nyx/hosts/atlas/modules/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./device.nix
|
||||
./system.nix
|
||||
./usrEnv.nix
|
||||
];
|
||||
}
|
11
nyx/hosts/atlas/modules/device.nix
Normal file
11
nyx/hosts/atlas/modules/device.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
config.modules.device = {
|
||||
type = "server";
|
||||
cpu.type = "pi";
|
||||
gpu.type = "pi";
|
||||
monitors = ["HDMI-A-1"];
|
||||
hasBluetooth = false;
|
||||
hasSound = false;
|
||||
hasTPM = false;
|
||||
};
|
||||
}
|
39
nyx/hosts/atlas/modules/system.nix
Normal file
39
nyx/hosts/atlas/modules/system.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
config.modules.system = {
|
||||
mainUser = "notashelf";
|
||||
fs = ["ext4" "vfat" "ntfs" "exfat"];
|
||||
autoLogin = false;
|
||||
|
||||
boot = {
|
||||
loader = "none";
|
||||
enableKernelTweaks = true;
|
||||
initrd.enableTweaks = true;
|
||||
tmpOnTmpfs = false;
|
||||
};
|
||||
|
||||
video.enable = false;
|
||||
sound.enable = false;
|
||||
bluetooth.enable = false;
|
||||
printing.enable = false;
|
||||
emulation.enable = false;
|
||||
|
||||
virtualization.enable = false;
|
||||
|
||||
networking = {
|
||||
optimizeTcp = true;
|
||||
nftables.enable = true;
|
||||
tailscale = {
|
||||
enable = true;
|
||||
isClient = true;
|
||||
isServer = false;
|
||||
};
|
||||
};
|
||||
|
||||
security = {
|
||||
tor.enable = true;
|
||||
fixWebcam = false;
|
||||
lockModules = true;
|
||||
auditd.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
7
nyx/hosts/atlas/modules/usrEnv.nix
Normal file
7
nyx/hosts/atlas/modules/usrEnv.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
config.modules.usrEnv = {
|
||||
isWayland = false;
|
||||
desktop = "Hyprland";
|
||||
useHomeManager = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue