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.extraConfig = "Defaults insults";

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ config, lib, pkgs, ... }:
with lib;
with import ./theme.nix;
let
@@ -17,7 +17,7 @@ in {
terminal = "${pkgs.xfce.terminal}/bin/xfce4-terminal";
browser = "${pkgs.chromium}/bin/chromium";
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 = {