added: hyfetch
This commit is contained in:
4
modules/hyfetch/default.nix
Normal file
4
modules/hyfetch/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos = ./nixos.nix;
|
||||
}
|
||||
40
modules/hyfetch/home.nix
Normal file
40
modules/hyfetch/home.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.hyfetch;
|
||||
in
|
||||
{
|
||||
options.modules.hyfetch = {
|
||||
enable = lib.mkEnableOption "hyfetchm";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ ] // [ pkgs.fastfetch ];
|
||||
hyfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"preset" = "bisexual";
|
||||
"mode" = "rgb";
|
||||
"auto_detect_light_dark" = true;
|
||||
"light_dark" = "dark";
|
||||
"lightness" = 0.5;
|
||||
"color_align" = {
|
||||
"mode" = "custom";
|
||||
"custom_colors" = {
|
||||
"1" = 1;
|
||||
"2" = 0;
|
||||
};
|
||||
};
|
||||
"backend" = "fastfetch";
|
||||
"args" = null;
|
||||
"distro" = null;
|
||||
"pride_month_disable" = false;
|
||||
"custom_ascii_path" = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
20
modules/hyfetch/nixos.nix
Normal file
20
modules/hyfetch/nixos.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.fish;
|
||||
in
|
||||
{
|
||||
options.modules.fish = {
|
||||
enable = lib.mkEnableOption "Fish";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user