fixing some st00pid stuff i dont remember
This commit is contained in:
5
home/bin/neovim/plugins/chatgpt.nix
Normal file
5
home/bin/neovim/plugins/chatgpt.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
programs.nixvim.plugins.chatgpt = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
@@ -13,6 +13,7 @@
|
||||
./tagbar.nix
|
||||
./telescope.nix
|
||||
./treesitter.nix
|
||||
# ./chatgpt.nix
|
||||
# ./vimtex.nix
|
||||
./nonels.nix
|
||||
./conform.nix
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# Yanked from fufexan
|
||||
{
|
||||
self,
|
||||
inputs,
|
||||
@@ -43,26 +42,22 @@
|
||||
inherit (inputs.hm.lib) homeManagerConfiguration;
|
||||
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
|
||||
# Function to create home configuration
|
||||
makeHomeConfiguration = modules:
|
||||
homeManagerConfiguration {
|
||||
inherit pkgs extraSpecialArgs modules;
|
||||
};
|
||||
in {
|
||||
# we need to pass this to NixOS' HM module
|
||||
_module.args = {inherit homeImports;};
|
||||
|
||||
flake = {
|
||||
homeConfigurations = {
|
||||
"cnst_cnix" = homeManagerConfiguration {
|
||||
modules = homeImports."cnst@cnix";
|
||||
inherit pkgs extraSpecialArgs;
|
||||
};
|
||||
|
||||
"adam_adampad" = homeManagerConfiguration {
|
||||
modules = homeImports."adam@adampad";
|
||||
inherit pkgs extraSpecialArgs;
|
||||
};
|
||||
|
||||
"toothpick_toothpc" = homeManagerConfiguration {
|
||||
modules = homeImports."toothpick@toothpc";
|
||||
inherit pkgs extraSpecialArgs;
|
||||
};
|
||||
};
|
||||
homeConfigurations = builtins.listToAttrs (map
|
||||
(name: {
|
||||
name = builtins.replaceStrings ["@"] ["_"] name;
|
||||
value = makeHomeConfiguration homeImports.${name};
|
||||
})
|
||||
(builtins.attrNames homeImports));
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,5 +30,6 @@
|
||||
qbittorrent
|
||||
networkmanagerapplet # tray icon for NetworkManager
|
||||
usbimager # write bootable usb images!
|
||||
chatgpt-cli
|
||||
];
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX
|
||||
|
||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'
|
||||
|
||||
microfetch
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user