44 lines
895 B
Nix
44 lines
895 B
Nix
{ lib, pkgs, ... }: {
|
|
|
|
boot.kernel.sysctl."vm.overcommit_memory" = 1;
|
|
|
|
environment.shells = with pkgs; [ zsh ];
|
|
environment.systemPackages = with pkgs; [ xorg.setxkbmap ];
|
|
|
|
fonts = {
|
|
packages = with pkgs; [ inter notonoto ];
|
|
fontconfig = {
|
|
defaultFonts = {
|
|
serif = [ "Inter" ];
|
|
sansSerif = [ "Inter" ];
|
|
monospace = [ "notonoto" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
networking.hostName = "mizuki";
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
security.sudo = {
|
|
enable = true;
|
|
wheelNeedsPassword = true;
|
|
};
|
|
|
|
users = {
|
|
defaultUserShell = pkgs.zsh;
|
|
users.avery.extraGroups = [ "wheel" ];
|
|
};
|
|
|
|
wsl = {
|
|
enable = true;
|
|
defaultUser = "avery";
|
|
};
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|