flake: dogfood Bahaghari

This commit is contained in:
Gabriel Arazas 2024-02-23 18:17:43 +08:00
parent 87db9e9052
commit 9e8b271b65
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 27 additions and 1 deletions

View File

@ -46,6 +46,14 @@
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
inputs.nix-index-database.hmModules.nix-index 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 default shared config for our home-manager configurations. This # The default shared config for our home-manager configurations. This
# is also to be used for sharing modules among home-manager users from # is also to be used for sharing modules among home-manager users from
# NixOS configurations with `nixpkgs.useGlobalPkgs` set to `true` so # NixOS configurations with `nixpkgs.useGlobalPkgs` set to `true` so

View File

@ -87,6 +87,14 @@
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.disko.nixosModules.disko 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; };
})
# Bring our own teeny-tiny snippets of configurations. # Bring our own teeny-tiny snippets of configurations.
defaultNixConf defaultNixConf
../../modules/nixos/profiles/generic.nix ../../modules/nixos/profiles/generic.nix

View File

@ -1,4 +1,4 @@
{ ... }: { inputs, ... }:
{ {
setups.nixvim.configs = { setups.nixvim.configs = {
@ -21,6 +21,16 @@
}; };
}; };
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; };
})
];
flake = { flake = {
nixvimModules.default = ../../modules/nixvim; nixvimModules.default = ../../modules/nixvim;
}; };