initial setup with impermanence

This commit is contained in:
2025-06-07 16:05:38 +03:00
commit 86b4fcd2fc
19 changed files with 700 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
{ config, lib, pkgs, ... }:
{
nix.settings.experimental-features = [ "nix-command" "flakes"];
# loader setup
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
# timezone
time.timeZone = "Europe/Moscow";
programs.zsh.enable = true;
environment.systemPackages = with pkgs; [
git
wget
];
programs.neovim = {
enable = true;
defaultEditor = true;
};
services.openssh.enable = true;
# networking
networking.networkmanager.enable = true;
networking.firewall.allowedTCPPorts = [ 22 ];
networking.nftables.enable = true;
# locales
i18n.extraLocales = [ "en_US.UTF-8/UTF-8" "C.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ];
}