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,19 +17,18 @@ in
kitty
];
home-manager.users.sako = { pkgs , ...}: {
xdg.configFile = {
kitty = {
source = ../../../config/kitty;
home-manager.users.sako = {pkgs, ...}: {
xdg.configFile = {
kitty = {
source = ../../../config/kitty;
};
};
};
};
# also just in case
fonts.fonts = with pkgs;[
jetbrains-mono
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
fonts.packages = with pkgs; [
jetbrains-mono
(nerdfonts.override {fonts = ["JetBrainsMono"];})
];
};
}