fixing some st00pid stuff i dont remember

This commit is contained in:
cnst
2024-08-05 20:08:48 +02:00
parent e5f3027ce6
commit 6609f58772
19 changed files with 185 additions and 89 deletions

View File

@@ -0,0 +1,5 @@
{
programs.nixvim.plugins.chatgpt = {
enable = true;
};
}

View File

@@ -13,6 +13,7 @@
./tagbar.nix
./telescope.nix
./treesitter.nix
# ./chatgpt.nix
# ./vimtex.nix
./nonels.nix
./conform.nix

View File

@@ -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));
};
}

View File

@@ -30,5 +30,6 @@
qbittorrent
networkmanagerapplet # tray icon for NetworkManager
usbimager # write bootable usb images!
chatgpt-cli
];
}

View File

@@ -54,7 +54,7 @@
ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241'
microfetch
'';
};
}