52 lines
953 B
Nix
52 lines
953 B
Nix
|
{ config, lib, pkgs, ... }: {
|
||
|
system.stateVersion = "25.05";
|
||
|
|
||
|
boot = {
|
||
|
bootspec.enable = false;
|
||
|
enableContainers = false;
|
||
|
initrd.enable = false;
|
||
|
kernel.enable = false;
|
||
|
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;
|
||
|
};
|
||
|
}
|