2023-10-02 17:17:30 -05:00
|
|
|
{ pkgs, ... }: {
|
2023-09-29 16:57:26 -05:00
|
|
|
# TODO: add a DE and include either plasma or gnome as a fallback?
|
2023-09-05 22:39:17 -05:00
|
|
|
imports = [
|
|
|
|
./sway.nix
|
|
|
|
./user-installed-applications.nix
|
|
|
|
];
|
2023-10-02 14:40:35 -05:00
|
|
|
|
2023-10-02 17:17:30 -05:00
|
|
|
fonts.packages = with pkgs; [
|
|
|
|
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
|
|
|
|
(iosevka.override {
|
|
|
|
set = "lyteterm";
|
|
|
|
privateBuildPlan = ''
|
|
|
|
[buildPlans.iosevka-lyteterm]
|
|
|
|
family = "IosevkaLyteTerm"
|
|
|
|
spacing = "fontconfig-mono"
|
|
|
|
serifs = "sans"
|
|
|
|
export-glyph-names = true
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.ligations]
|
|
|
|
inherits = "dlig"
|
|
|
|
disables = [ "exeqeqeq", "exeqeq", "exeqeq-dl", "exeq", "ineq", "connected-underscore", "connected-tilde-as-wave" ]
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.weights.regular]
|
|
|
|
shape = 400
|
|
|
|
menu = 400
|
|
|
|
css = 400
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.weights.book]
|
|
|
|
shape = 450
|
|
|
|
menu = 450
|
|
|
|
css = 450
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.weights.bold]
|
|
|
|
shape = 700
|
|
|
|
menu = 700
|
|
|
|
css = 700
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.weights.black]
|
|
|
|
shape = 900
|
|
|
|
menu = 900
|
|
|
|
css = 900
|
|
|
|
|
|
|
|
# [[buildPlans.iosevka-lyteterm.compatibility-ligatures]]
|
|
|
|
# unicode = 57600 # 0xE100
|
|
|
|
# featureTag = 'calt'
|
|
|
|
# kequence = '<*>'
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.variants]
|
|
|
|
inherits = "ss01"
|
|
|
|
|
|
|
|
[buildPlans.iosevka-lyteterm.variants.design]
|
|
|
|
capital-a = 'curly-serifless'
|
|
|
|
capital-b = 'standard-interrupted-serifless'
|
|
|
|
capital-c = 'unilateral-inward-serifed'
|
|
|
|
capital-d = 'standard-serifless'
|
|
|
|
capital-g = 'toothless-rounded-inward-serifed-hooked'
|
|
|
|
capital-i = 'serifed'
|
|
|
|
capital-j = 'serifed'
|
|
|
|
capital-k = 'curly-serifless'
|
|
|
|
capital-l = 'motion-serifed'
|
|
|
|
capital-m = 'hanging-serifless'
|
|
|
|
capital-n = 'asymmetric-serifless'
|
|
|
|
capital-p = 'open-serifless'
|
|
|
|
capital-q = 'crossing'
|
2023-10-03 10:28:12 -05:00
|
|
|
capital-r = 'standing-open-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
capital-s = 'unilateral-inward-serifed'
|
|
|
|
capital-t = 'motion-serifed'
|
2023-10-03 10:28:12 -05:00
|
|
|
capital-u = 'toothless-corner-serifless'
|
|
|
|
capital-v = 'curly-serifless'
|
|
|
|
capital-w = 'curly-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
capital-x = 'curly-serifless'
|
|
|
|
capital-y = 'curly-base-serifed'
|
|
|
|
capital-z = 'curly-top-serifed-with-crossbar'
|
|
|
|
a = 'double-storey-toothless-corner'
|
2023-10-03 10:28:12 -05:00
|
|
|
b = 'toothless-corner-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
c = 'unilateral-inward-serifed'
|
|
|
|
d = 'toothless-corner-serifless'
|
|
|
|
e = 'flat-crossbar'
|
|
|
|
f = 'tailed'
|
|
|
|
g = 'double-storey-open'
|
|
|
|
# g = 'single-storey-earless-corner-flat-hook'
|
2023-10-03 10:28:12 -05:00
|
|
|
h = 'straight-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
i = 'tailed-serifed'
|
|
|
|
j = 'serifed'
|
|
|
|
k = 'curly-serifless'
|
|
|
|
l = 'tailed-serifed'
|
2023-10-03 10:28:12 -05:00
|
|
|
m = 'earless-corner-double-arch-serifless'
|
|
|
|
n = 'earless-corner-straight-serifless'
|
|
|
|
p = 'earless-corner-serifless'
|
|
|
|
q = 'earless-corner-diagonal-tailed-serifless'
|
|
|
|
r = 'earless-corner-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
s = 'unilateral-inward-serifed'
|
2023-10-03 10:28:12 -05:00
|
|
|
t = 'bent-hook-asymmetric'
|
|
|
|
u = 'toothless-corner-serifless'
|
|
|
|
v = 'curly-serifless'
|
|
|
|
w = 'curly-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
x = 'curly-serifless'
|
2023-10-03 10:28:12 -05:00
|
|
|
y = 'curly-turn-serifless'
|
2023-10-02 17:17:30 -05:00
|
|
|
z = 'curly-top-serifed-with-crossbar'
|
|
|
|
# cyrl-capital-ze = 'unilateral-inward-serifed'
|
2023-10-03 10:28:12 -05:00
|
|
|
zero = 'reverse-slashed-split'
|
2023-10-02 17:17:30 -05:00
|
|
|
one = 'base'
|
|
|
|
two = 'curly-neck'
|
|
|
|
three = 'two-arcs'
|
|
|
|
four = 'semi-open-non-crossing'
|
2023-10-03 10:28:12 -05:00
|
|
|
five = 'upright-arched'
|
2023-10-02 17:17:30 -05:00
|
|
|
six = 'straight-bar'
|
2023-10-03 10:28:12 -05:00
|
|
|
seven = 'curly-serifed-crossbar'
|
2023-10-02 17:17:30 -05:00
|
|
|
eight = 'two-circles'
|
|
|
|
nine = 'straight-bar'
|
|
|
|
tilde = 'low'
|
|
|
|
asterisk = 'penta-low'
|
|
|
|
underscore = 'above-baseline'
|
|
|
|
pilcrow = 'low'
|
|
|
|
caret = 'low'
|
|
|
|
paren = 'flat-arc'
|
|
|
|
brace = 'curly-flat-boundary'
|
|
|
|
number-sign = 'upright-open'
|
|
|
|
ampersand = 'upper-open'
|
2023-10-03 10:28:12 -05:00
|
|
|
at = 'compact'
|
2023-10-02 17:17:30 -05:00
|
|
|
dollar = 'interrupted'
|
|
|
|
cent = 'open'
|
|
|
|
percent = 'rings-segmented-slash'
|
|
|
|
bar = 'force-upright'
|
|
|
|
ascii-single-quote = 'raised-comma'
|
|
|
|
ascii-grave = 'straight'
|
|
|
|
question = 'smooth'
|
|
|
|
punctuation-dot = 'round'
|
|
|
|
'';
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2023-10-02 14:40:35 -05:00
|
|
|
hardware = {
|
|
|
|
opengl = {
|
|
|
|
enable = true;
|
|
|
|
driSupport32Bit = true;
|
|
|
|
driSupport = true;
|
|
|
|
};
|
|
|
|
};
|
2023-09-05 22:39:17 -05:00
|
|
|
}
|
|
|
|
|