nix-config/modules/base.nix

43 lines
919 B
Nix
Raw Normal View History

{ pkgs, ... }:
2022-04-23 03:01:58 +02:00
{
nix = {
2022-04-23 04:17:33 +02:00
package = pkgs.nixFlakes;
2022-04-23 03:01:58 +02:00
extraOptions = ''
experimental-features = nix-command flakes
2022-04-23 13:41:36 +02:00
'';
2022-04-28 20:01:49 +02:00
autoOptimiseStore = true;
2022-04-23 03:01:58 +02:00
};
# Select internationalisation properties.
console = {
font = "Lat2-Terminus16";
keyMap = "uk";
};
2022-06-06 19:46:15 +02:00
i18n.defaultLocale = "en_US.UTF-8";
i18n.supportedLocales = [
"en_US.UTF-8/UTF-8"
"en_US/ISO-8859-1"
"C.UTF-8/UTF-8"
];
2022-04-23 03:01:58 +02:00
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
git
htop
tmux
2022-06-06 19:46:15 +02:00
(vim_configurable.override { guiSupport = false; luaSupport = false; perlSupport = false; pythonSupport = false; rubySupport = false; cscopeSupport = false; netbeansSupport = false; })
2022-04-23 03:01:58 +02:00
wget
git-crypt
2022-04-24 16:09:18 +02:00
iftop
2022-04-23 03:01:58 +02:00
];
# Enable the OpenSSH daemon.
2022-04-23 13:49:25 +02:00
services.openssh = {
enable = true;
};
2022-04-23 03:01:58 +02:00
programs.mosh.enable = true;
}