54 lines
836 B
Nix
54 lines
836 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
time.timeZone = "Asia/Kolkata";
|
|
|
|
environment.localBinInPath = true;
|
|
|
|
security = {
|
|
rtkit.enable = true;
|
|
polkit.enable = true;
|
|
sudo.enable = true;
|
|
};
|
|
|
|
console.useXkbConfig = true;
|
|
|
|
users.users.natto = {
|
|
isNormalUser = true;
|
|
shell = pkgs.zsh;
|
|
home = "/home/natto";
|
|
extraGroups = [
|
|
"wheel"
|
|
"adbusers"
|
|
"video"
|
|
"libvirtd"
|
|
"docker"
|
|
"networkmanager"
|
|
"dialout"
|
|
"pipewire"
|
|
];
|
|
};
|
|
|
|
virtualisation = {
|
|
waydroid.enable = true;
|
|
podman = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
gtk.iconCache.enable = true;
|
|
|
|
security.wrappers = {
|
|
intel_gpu_top = {
|
|
owner = "root";
|
|
group = "root";
|
|
capabilities = "cap_perfmon=+ep";
|
|
source = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
|
|
};
|
|
};
|
|
}
|