fix deprecated thingy

This commit is contained in:
Sakooooo 2024-01-29 11:51:19 +04:00
parent 31632e4d78
commit 8c1ed1dec3
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1,9 +1,13 @@
{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.kitty;
in
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.kitty;
in {
options.modules.desktop.kitty = {
enable = mkEnableOption false;
};
@ -13,7 +17,7 @@ in
kitty
];
home-manager.users.sako = { pkgs , ...}: {
home-manager.users.sako = {pkgs, ...}: {
xdg.configFile = {
kitty = {
source = ../../../config/kitty;
@ -22,10 +26,9 @@ in
};
# also just in case
fonts.fonts = with pkgs;[
fonts.packages = with pkgs; [
jetbrains-mono
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
(nerdfonts.override {fonts = ["JetBrainsMono"];})
];
};
}