refactor(flake-parts): initial flake-parts configuration

This commit is contained in:
ooks-io 2024-05-13 22:50:56 +12:00
parent 8f67be9e68
commit 5603001d65
230 changed files with 380 additions and 717 deletions

View file

@ -1,42 +0,0 @@
{ lib, config, pkgs, inputs, ... }:
let
cfg = config.theme.minimal;
inherit (inputs.nix-colors) colorSchemes;
in
{
imports = [ inputs.nix-colors.homeManagerModule ];
config = lib.mkIf cfg.enable {
colorscheme = colorSchemes.gruvbox-material-dark-soft;
home.file.".colorscheme".text = config.colorscheme.slug;
home.sessionVariables.COLOR_SCHEME = "${config.colorscheme.slug}";
homeModules.theme = {
fonts.enable = true;
fonts.regular = {
family = "Fira Sans";
package = pkgs.fira;
};
fonts.monospace = {
family = "JetBrainsMono Nerd Font";
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
};
cursor.enable = true;
cursor = {
name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors;
size = 22;
};
wallpaper = {
enable = true;
};
gtk.enable = true;
qt.enable = true;
};
};
}