Files
nix-new/for_install/etcConfig.nix

54 lines
803 B
Nix
Raw Permalink Normal View History

2025-06-23 00:47:36 +05:00
{ config, lib, pkgs, ... }: {
imports = [
./hardware-configuration.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "nix-fox";
networkmanager.enable = true;
};
time.timeZone = "Asia/Yekaterinburg";
i18n.defaultLocale = "ru_RU.UTF-8";
console = {
font = "cyr-sun16";
keyMap = "ru";
};
users.users.chronoblade = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
environment.systemPackages = with pkgs; [
neovim
fastfetch
btop
];
programs.nh = {
enable = true;
package = pkgs.nh;
};
services.openssh = {
enable = true;
ports = [ 95 ];
settings = {
PasswordAuthentication = true;
UseDns = true;
AllowUsers = [ "chronoblade" ];
PermitRootLogin = "yes";
};
};
system.stateVersion = "25.05";
}