j fontsize default 12; bln 20
This commit is contained in:
parent
52be338d64
commit
e5114f1bfb
@ -3,16 +3,17 @@
|
|||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
# bln config file
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
<stockholm/jeschli>
|
<stockholm/jeschli>
|
||||||
<stockholm/jeschli/2configs/virtualbox.nix>
|
<stockholm/jeschli/2configs/virtualbox.nix>
|
||||||
|
<stockholm/jeschli/2configs/urxvt.nix>
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
# ./dcso-vpn.nix
|
# ./dcso-vpn.nix
|
||||||
];
|
];
|
||||||
|
jeschliFontSize = 20;
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.version = 2;
|
boot.loader.grub.version = 2;
|
||||||
|
@ -1,34 +1,39 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
with import <stockholm/lib>;
|
with import <stockholm/lib>;
|
||||||
|
|
||||||
{
|
{
|
||||||
services.urxvtd.enable = true;
|
options.jeschliFontSize = mkOption {
|
||||||
krebs.xresources.enable = true;
|
type = types.int;
|
||||||
krebs.xresources.resources.urxvt = ''
|
default = 12;
|
||||||
*foreground: rgb:a8/a8/a8
|
};
|
||||||
*background: rgb:00/00/00
|
config = {
|
||||||
*faceName: DejaVu Sans Mono
|
services.urxvtd.enable = true;
|
||||||
*faceSize: 12
|
krebs.xresources.enable = true;
|
||||||
*color0: rgb:00/00/00
|
krebs.xresources.resources.urxvt = ''
|
||||||
*color1: rgb:a8/00/00
|
*foreground: rgb:a8/a8/a8
|
||||||
*color2: rgb:00/a8/00
|
*background: rgb:00/00/00
|
||||||
*color3: rgb:a8/54/00
|
*faceName: DejaVu Sans Mono
|
||||||
*color4: rgb:00/00/a8
|
*faceSize: ${toString config.jeschliFontSize}
|
||||||
*color5: rgb:a8/00/a8
|
*color0: rgb:00/00/00
|
||||||
*color6: rgb:00/a8/a8
|
*color1: rgb:a8/00/00
|
||||||
*color7: rgb:a8/a8/a8
|
*color2: rgb:00/a8/00
|
||||||
*color8: rgb:54/54/54
|
*color3: rgb:a8/54/00
|
||||||
*color9: rgb:fc/54/54
|
*color4: rgb:26/8b/d2
|
||||||
*color10: rgb:54/fc/54
|
*color5: rgb:a8/00/a8
|
||||||
*color11: rgb:fc/fc/54
|
*color6: rgb:00/a8/a8
|
||||||
*color12: rgb:54/54/fc
|
*color7: rgb:a8/a8/a8
|
||||||
*color13: rgb:fc/54/fc
|
*color8: rgb:54/54/54
|
||||||
*color14: rgb:54/fc/fc
|
*color9: rgb:fc/54/54
|
||||||
*color15: rgb:fc/fc/fc
|
*color10: rgb:54/fc/54
|
||||||
|
*color11: rgb:fc/fc/54
|
||||||
URxvt*scrollBar: false
|
*color12: rgb:54/54/fc
|
||||||
URxvt*urgentOnBell: true
|
*color13: rgb:fc/54/fc
|
||||||
URxvt*font: xft:DejaVu Sans Mono:pixelsize=12
|
*color14: rgb:54/fc/fc
|
||||||
URXvt*faceSize: 12
|
*color15: rgb:fc/fc/fc
|
||||||
'';
|
|
||||||
|
URxvt*scrollBar: false
|
||||||
|
URxvt*urgentOnBell: true
|
||||||
|
URxvt*font: xft:DejaVu Sans Mono:pixelsize=${toString config.jeschliFontSize}
|
||||||
|
URXvt*faceSize: ${toString config.jeschliFontSize}
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user