1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/modules/base.nix

59 lines
1.1 KiB
Nix

{ config, lib, pkgs, ...} :
with lib; {
options.elss.base.enable = mkEnableOption "Set the base configuration for the system";
config = mkIf config.elss.base.enable {
services = {
dbus = {
enable = true;
packages = with pkgs; [ gnome3.dconf ];
};
};
programs = {
mtr.enable = true;
dconf.enable = true;
};
documentation = {
enable = true;
man.enable = true;
dev.enable = true;
};
environment.systemPackages = with pkgs; [
alacritty.terminfo
bintools
clang
elfutils
emacs-all-the-icons-fonts
gdb
git
htop
neofetch
nix-prefetch-github
nixfmt
nixpkgs-fmt
procs
ripgrep
rnix-lsp
sysstat
tcpdump
unzip
wget
];
elss = {
locale.enable = mkDefault true;
zsh.enable = mkDefault true;
};
boot = {
loader = {
systemd-boot.enable = mkDefault true;
efi.canTouchEfiVariables = mkDefault true;
};
kernelPackages = mkDefault pkgs.linuxPackages_latest;
};
};
}