nixos/modules/core.nix
2026-03-27 19:35:15 -03:00

39 lines
798 B
Nix

{ den, ... }: {
den.aspects.core.nixos = { pkgs, ... }: {
nixpkgs.config.allowUnfree = true;
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
services.xserver.xkb.layout = "us";
environment.systemPackages = with pkgs; [
curl
wget
neovim
btop
nixd
];
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
networking.networkmanager.enable = true;
time.timeZone = "America/Sao_Paulo";
i18n.defaultLocale = "en_US.UTF-8";
};
}