Files
dotfiles/hosts/satori/stuff.nix
Amneesh Singh c87410b1aa enable iwd
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-01-27 07:02:30 +05:30

57 lines
1.0 KiB
Nix

{ lib, config, agenix, pkgs, ... }:
{
time.timeZone = "Asia/Kolkata";
environment.localBinInPath = true;
security = {
rtkit.enable = true;
polkit.enable = true;
sudo.enable = true;
doas = {
enable = true;
extraRules = [
{
users = [ "natto" ];
keepEnv = true;
persist = true;
setEnv = [ "SSH_AUTH_SOCK" "PATH" "SHELL" ];
}
];
};
};
console.useXkbConfig = true;
fonts.fonts = with pkgs; [
fira-code
fira-mono
monoid
font-awesome
material-icons
material-design-icons
lohit-fonts.devanagari
lohit-fonts.gurmukhi
office-code-pro
eb-garamond
noto-fonts-cjk
takao
liberation_ttf
];
users.users.natto = {
isNormalUser = true;
shell = pkgs.zsh;
home = "/home/natto";
extraGroups = [ "wheel" "adbusers" "video" "libvirtd" "docker" "networkmanager" ];
};
virtualisation = {
podman = {
enable = true;
enableNvidia = true;
};
};
gtk.iconCache.enable = true;
}