You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
packages: {config, ...}: {
|
|
environment.systemPackages = with packages; [
|
|
nixpkgs.gksu
|
|
nixpkgs.xfontsel
|
|
];
|
|
|
|
fonts = {
|
|
fontconfig = {
|
|
enable = true;
|
|
};
|
|
|
|
enableFontDir = true;
|
|
enableCoreFonts = true;
|
|
enableGhostscriptFonts = true;
|
|
|
|
fonts = with packages ; [
|
|
nixpkgs.liberation_ttf
|
|
nixpkgs.ttf_bitstream_vera
|
|
nixpkgs.dejavu_fonts
|
|
nixpkgs.terminus_font
|
|
nixpkgs.bakoma_ttf
|
|
nixpkgs.bakoma_ttf
|
|
nixpkgs.ubuntu_font_family
|
|
nixpkgs.vistafonts
|
|
nixpkgs.unifont
|
|
nixpkgs.freefont_ttf
|
|
];
|
|
};
|
|
|
|
hardware = {
|
|
opengl.driSupport32Bit = true;
|
|
};
|
|
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
layout = "us";
|
|
xkbOptions = "eurosign:e, caps:backspace";
|
|
|
|
displayManager = {
|
|
lightdm = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
# We need accounts-daemon for lightdm to work correctly.
|
|
accounts-daemon = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|