mirror of
https://github.com/ItsDrike/nixdots
synced 2024-09-19 23:59:40 +00:00
Compare commits
4 commits
d3a40dd759
...
4f7c9e8a71
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | 4f7c9e8a71 | ||
ItsDrike | 5df0ffe4e5 | ||
ItsDrike | 5c1b4748e0 | ||
ItsDrike | 8f4f9a7bd9 |
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./spotify
|
||||
./vesktop
|
||||
];
|
||||
}
|
||||
|
|
30
home/programs/graphical/apps/vesktop/default.nix
Normal file
30
home/programs/graphical/apps/vesktop/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.vesktop;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ vesktop ];
|
||||
|
||||
systemd.user.services."vesktop" = mkIf cfg.autoStart {
|
||||
Unit = {
|
||||
Description = "Vesktop (An alternate client for Discord with Vencord built-in)";
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
Type = "simple";
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${pkgs.vesktop}/bin/vesktop";
|
||||
};
|
||||
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -43,7 +43,7 @@ in {
|
|||
Unit = {
|
||||
Description = "Open %I eww (ElKowar's Wacky Widgets) window";
|
||||
After = [ "eww.service" ];
|
||||
PartOf = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
|
|
14
home/programs/terminal/tools/fastfetch.nix
Normal file
14
home/programs/terminal/tools/fastfetch.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.tools.fastfetch;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.fastfetch.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,3 +1,31 @@
|
|||
{
|
||||
programs.hyfetch.enable = true;
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.tools.hyfetch;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.hyfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preset = "rainbow";
|
||||
mode = "rgb";
|
||||
light_dark = "dark";
|
||||
lightness = 0.65;
|
||||
color_align = {
|
||||
mode = "custom";
|
||||
custom_colors = {};
|
||||
force_back = null;
|
||||
};
|
||||
backend = "neofetch";
|
||||
args = null;
|
||||
distro = null;
|
||||
pride_month_shown = [];
|
||||
pride_month_disable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
".mozilla"
|
||||
".mullvad"
|
||||
".config/chromium"
|
||||
".config/vesktop"
|
||||
".local/share/gnupg"
|
||||
".local/share/zoxide"
|
||||
".local/share/wakatime"
|
||||
|
@ -135,8 +136,16 @@
|
|||
chromium.enable = true;
|
||||
mullvad-browser.enable = true;
|
||||
};
|
||||
tools = {
|
||||
fastfetch.enable = true;
|
||||
hyfetch.enable = true;
|
||||
};
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -28,5 +28,14 @@ in
|
|||
|
||||
spotify.enable = mkEnableOption "Spotify";
|
||||
stremio.enable = mkEnableOption "Stremio free media center";
|
||||
vesktop = {
|
||||
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
|
||||
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
||||
};
|
||||
|
||||
tools = {
|
||||
fastfetch.enable = mkEnableOption "FastFetch (fast neofetch)";
|
||||
hyfetch.enable = mkEnableOption "Neofetch with pride flags";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue