blob: 1cfd36b2d11840216f451293e624efa161fb117f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
config,
lib,
pkgs,
options,
...
}:
{
imports = [
./swayfx.nix
];
options.desktop = {
windowManager = lib.mkOption {
description = "Which window manager to use";
default = null;
type = with lib.types; nullOr (enum [ ]);
};
};
config = {
home.packages = with pkgs; [
fira-code # monospace font
];
programs.foot = {
enable = lib.mkDefault (config.desktop != null);
settings = {
bell = {
notify = true;
urgent = true;
};
colors = {
alpha = 0.7;
};
cursor.blink = true;
main = {
font = "Fira Code:size=8";
dpi-aware = true;
};
mouse.hide-when-typing = true;
};
};
};
}
|