mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
56 lines
664 B
Nix
56 lines
664 B
Nix
{ pkgs
|
|
, ...
|
|
}:
|
|
{
|
|
system.stateVersion = "24.05";
|
|
|
|
users.mutableUsers = false;
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
};
|
|
|
|
networking = {
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ 80 443 ];
|
|
};
|
|
};
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
environment.systemPackages = with pkgs; [
|
|
curl
|
|
neovim
|
|
bash
|
|
git
|
|
|
|
zip unzip
|
|
xz
|
|
zstd
|
|
gnutar
|
|
|
|
diffutils
|
|
file
|
|
tree
|
|
gnused
|
|
gnugrep
|
|
stow
|
|
|
|
killall
|
|
gnupg
|
|
];
|
|
|
|
programs = {
|
|
neovim.enable = true;
|
|
neovim.defaultEditor = true;
|
|
|
|
git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
config = {
|
|
init.defaultBranch = "main";
|
|
};
|
|
};
|
|
};
|
|
}
|