fix package imports

This commit is contained in:
Chris Kruining 2025-03-19 07:48:50 +01:00
parent 65e0b4932e
commit 635b33eb97
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
21 changed files with 60 additions and 51 deletions

View file

@ -30,7 +30,7 @@ in {
})
(mkIf (cfg.default == "nvim") {
user.packages = attrValues {
home-manager.users.${user}.home.packages = attrValues {
inherit (pkgs) imagemagick editorconfig-core-c sqlite deno pandoc nuspell;
inherit (pkgs.hunspellDicts) en_GB nl_NL;
};

View file

@ -8,7 +8,9 @@ in
{
options.modules.${user}.desktop.editors.kate = let
inherit (lib.options) mkEnableOption;
in { enable = mkEnableOption "kate"; };
in {
enable = mkEnableOption "kate";
};
config = mkIf cfg.enable {
home-manager.users.${user}.programs.kate.enable = true;

View file

@ -11,7 +11,7 @@ in
in { enable = mkEnableOption "nano"; };
config = mkIf cfg.enable {
user.packages = with pkgs; [
home-manager.users.${user}.home.packages = with pkgs; [
nano
];

View file

@ -12,7 +12,7 @@ in
in { enable = mkEnableOption "vscodium"; };
config = mkIf cfg.enable {
user.packages = attrValues {
home-manager.users.${user}.home.packages = attrValues {
inherit (pkgs) vscodium;
};
};

View file

@ -9,11 +9,12 @@ in {
in {enable = mkEnableOption "zed";};
config = mkIf cfg.enable {
user.packages = with pkgs; [
home-manager.users.${user} = {
home.packages = with pkgs; [
zed-editor
];
home-manager.users.${user}.programs.zed-editor = {
programs.zed-editor = {
enable = true;
extraPackages = with pkgs; [ nixd nil alejandra ];
@ -57,5 +58,6 @@ in {
};
};
};
};
};
}