commit e1636abc04cda2db435592bde8c687627a61b370
parent 293be2cabc81f3ed7ed9c67055237ef08d8b454d
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 23 Sep 2021 11:48:03 +0200
systems: migrate to non-deprecated options
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/systems/modules/profiles/desktop.nix b/systems/modules/profiles/desktop.nix
@@ -74,8 +74,7 @@ in
};
};
fonts = {
- enableFontDir = true;
- # fontDir.enable = true;
+ fontDir.enable = true;
enableGhostscriptFonts = true;
fonts = with pkgs; [
liberation_ttf
diff --git a/users/vincent/desktop/i3.nix b/users/vincent/desktop/i3.nix
@@ -170,7 +170,10 @@ in
package = pkgs.i3-gaps;
enable = true;
config = {
- fonts = [ "Ubuntu Mono 10" ];
+ fonts = {
+ names = [ "Ubuntu Mono" ];
+ size = 10;
+ };
focus = {
followMouse = false;
};
@@ -250,7 +253,10 @@ in
position = "bottom";
trayOutput = "primary";
statusCommand = "${pkgs.i3status}/bin/i3status";
- fonts = [ "Fira Code 12" ];
+ fonts = {
+ names = [ "Fira Code" ];
+ size = 12;
+ };
}
];
};