Split config

This commit is contained in:
Paul-Henri Froidmont 2020-02-21 01:23:10 +01:00
parent 38337e482a
commit 34fbb0f945
14 changed files with 312 additions and 289 deletions

43
configs/system.nix Normal file
View file

@ -0,0 +1,43 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
wget
inetutils
man
vim
git
htop
ncdu
pciutils
];
fonts = {
fonts = with pkgs; [
meslo-lg
nerdfonts
];
fontconfig.defaultFonts = {
monospace = [ "MesloLGMDZ Nerd Font Mono" ];
};
};
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.opengl.driSupport32Bit = true;
hardware.pulseaudio.support32Bit = true;
users.users.froidmpa = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
};
services.xserver = {
enable = true;
layout = "fr";
desktopManager.xterm.enable = false;
windowManager.xmonad.enable = true;
};
}