57 lines
1,001 B
Nix
57 lines
1,001 B
Nix
|
{ config, lib, pkgs, ... }: {
|
||
|
system.stateVersion = "25.05";
|
||
|
|
||
|
boot = {
|
||
|
bootspec.enable = false;
|
||
|
enableContainers = false;
|
||
|
initrd.enable = false;
|
||
|
|
||
|
kernel = {
|
||
|
enable = false;
|
||
|
kernelPackages = null;
|
||
|
};
|
||
|
|
||
|
loader.grub.enable = false;
|
||
|
};
|
||
|
|
||
|
documentation = {
|
||
|
enable = false;
|
||
|
doc.enable = false;
|
||
|
info.enable = false;
|
||
|
man.enable = false;
|
||
|
nixos.enable = false;
|
||
|
};
|
||
|
|
||
|
environment.defaultPackages = lib.mkForce [ ];
|
||
|
environment.systemPackages = lib.mkForce [ ];
|
||
|
fileSystems."/".device = "nodev";
|
||
|
|
||
|
networking = {
|
||
|
nftables = {
|
||
|
enable = true;
|
||
|
checkRuleset = false;
|
||
|
};
|
||
|
|
||
|
useNetworkd = true;
|
||
|
};
|
||
|
|
||
|
programs = {
|
||
|
command-not-found.enable = false;
|
||
|
less.lessopen = null;
|
||
|
};
|
||
|
|
||
|
security = {
|
||
|
sudo.enable = false;
|
||
|
sudo-rs.enable = true;
|
||
|
};
|
||
|
|
||
|
services.dbus.implementation = "broker";
|
||
|
|
||
|
xdg = {
|
||
|
autostart.enable = false;
|
||
|
icons.enable = false;
|
||
|
mime.enable = false;
|
||
|
sounds.enable = false;
|
||
|
};
|
||
|
}
|