Commit e1636abc04cd

Vincent Demeester <vincent@sbr.pm>
2021-09-23 11:48:03
systems: migrate to non-deprecated options
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 293be2c
Changed files (2)
systems
modules
profiles
users
vincent
desktop
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
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;
+          };
         }
       ];
     };