flake: update Bahaghari module imports

This commit is contained in:
Gabriel Arazas 2024-02-25 17:26:06 +08:00
parent ffe99314f3
commit a458449e4c
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
4 changed files with 8 additions and 36 deletions

View File

@ -2,19 +2,6 @@
{ ... }:
{
flake = {
nixosModules = {
"bahaghari/tinted-theming" = ../../subprojects/bahaghari/modules/tinted-theming;
};
homeModules = {
"bahaghari/tinted-theming" = ../../subprojects/bahaghari/modules/tinted-theming;
};
nixvimModules = {
"bahaghari/tinted-theming" = ../../subprojects/bahaghari/modules/tinted-theming;
};
bahaghariLib = ../../subprojects/bahaghari/lib;
};
# We'll simply copy over Bahaghari's default exports.
flake = import ../../subprojects/bahaghari { };
}

View File

@ -46,13 +46,8 @@
inputs.sops-nix.homeManagerModules.sops
inputs.nix-index-database.hmModules.nix-index
# Setting up Bahaghari.
({ config, lib, pkgs, ... }: {
imports = [ inputs.self.homeModules."bahaghari/tinted-theming" ];
_module.args.bahaghariLib =
import inputs.self.bahaghariLib { inherit pkgs; };
})
# The rainbow road to ricing your raw materials.
inputs.self.homeModules.bahaghari
# The default shared config for our home-manager configurations. This
# is also to be used for sharing modules among home-manager users from

View File

@ -87,13 +87,8 @@
inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko
# Setting up Bahaghari.
({ config, lib, pkgs, ... }: {
imports = [ inputs.self.nixosModules."bahaghari/tinted-theming" ];
_module.args.bahaghariLib =
import inputs.self.bahaghariLib { inherit pkgs; };
})
# The rainbow road to ricing your raw materials.
inputs.self.nixosModules.bahaghari
# Bring our own teeny-tiny snippets of configurations.
defaultNixConf

View File

@ -22,13 +22,8 @@
};
setups.nixvim.sharedModules = [
# Setting up Bahaghari.
({ config, lib, pkgs, ... }: {
imports = [ inputs.self.nixvimModules."bahaghari/tinted-theming" ];
_module.args.bahaghariLib =
import inputs.self.bahaghariLib { inherit pkgs; };
})
# The rainbow road to ricing your raw materials.
inputs.self.nixvimModules.bahaghari
];
flake = {