diff --git a/config.nix b/config.nix index f422644..49a8c48 100644 --- a/config.nix +++ b/config.nix @@ -30,6 +30,11 @@ in { ''; }; + services.printing = { + enable = true; + drivers = [ pkgs.hplipWithPlugin ]; + }; + security.sudo.enable = true; security.sudo.extraConfig = "Defaults insults"; diff --git a/configs/graphics.nix b/configs/graphics.nix index 418b419..2480c08 100644 --- a/configs/graphics.nix +++ b/configs/graphics.nix @@ -318,6 +318,9 @@ in { enable = true; enableContribAndExtras = true; }; + xrandrHeads = if (config.networking.hostName == "homeros") + then [ "LVDS1" { output = "HDMI1"; primary = true; } ] + else []; }; i18n = { diff --git a/configs/packages.nix b/configs/packages.nix index d70f830..0a0ef6d 100644 --- a/configs/packages.nix +++ b/configs/packages.nix @@ -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 ]; } diff --git a/options.nix b/options.nix index 73eb5a3..66cc894 100644 --- a/options.nix +++ b/options.nix @@ -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 = {