1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

Configuration

+ printer drivers
+ xrandr config for homeros
- ligature fonts
+ 0ad
~ lock colour
This commit is contained in:
Kierán Meinhardt
2018-09-25 17:17:51 +02:00
parent 7ccdb8c3e2
commit 960b77fb2b
4 changed files with 12 additions and 5 deletions

View File

@@ -30,6 +30,11 @@ in {
''; '';
}; };
services.printing = {
enable = true;
drivers = [ pkgs.hplipWithPlugin ];
};
security.sudo.enable = true; security.sudo.enable = true;
security.sudo.extraConfig = "Defaults insults"; security.sudo.extraConfig = "Defaults insults";

View File

@@ -318,6 +318,9 @@ in {
enable = true; enable = true;
enableContribAndExtras = true; enableContribAndExtras = true;
}; };
xrandrHeads = if (config.networking.hostName == "homeros")
then [ "LVDS1" { output = "HDMI1"; primary = true; } ]
else [];
}; };
i18n = { i18n = {

View File

@@ -14,9 +14,8 @@ with pkgs;
fonts.enableDefaultFonts = true; fonts.enableDefaultFonts = true;
fonts.fonts = [ fonts.fonts = [
eb-garamond eb-garamond
fira-code fira
font-awesome-ttf font-awesome-ttf
hasklig
lmodern lmodern
powerline-fonts powerline-fonts
roboto roboto
@@ -60,7 +59,6 @@ with pkgs;
xorg.xkill xorg.xkill
youtubeDL youtubeDL
zathura zathura
zip
]; ];
programs.command-not-found.enable = true; programs.command-not-found.enable = true;
@@ -108,6 +106,7 @@ with pkgs;
stack stack
swiProlog swiProlog
tinycc tinycc
zeroad
]; ];
} }

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
with import ./theme.nix; with import ./theme.nix;
let let
@@ -17,7 +17,7 @@ in {
terminal = "${pkgs.xfce.terminal}/bin/xfce4-terminal"; terminal = "${pkgs.xfce.terminal}/bin/xfce4-terminal";
browser = "${pkgs.chromium}/bin/chromium"; browser = "${pkgs.chromium}/bin/chromium";
fileManager = "${pkgs.xfce.thunar}/bin/thunar"; fileManager = "${pkgs.xfce.thunar}/bin/thunar";
locker = "${pkgs.i3lock}/bin/i3lock -e -c ${strings.removePrefix "#" black}"; locker = "${pkgs.i3lock}/bin/i3lock -e -c ${strings.removePrefix "#" gray.dark}";
}; };
options.constants = { options.constants = {