mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 07:59:40 +00:00
Compare commits
1 commit
4f7c9e8a71
...
d3a40dd759
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | d3a40dd759 |
|
@ -11,20 +11,24 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs; [ vesktop ];
|
home.packages = with pkgs; [ vesktop ];
|
||||||
|
|
||||||
systemd.user.services."vesktop" = mkIf cfg.autoStart {
|
xdg.configFile = {
|
||||||
Unit = {
|
"vesktop/settings.json".text = builtins.toJSON {
|
||||||
Description = "Vesktop (An alternate client for Discord with Vencord built-in)";
|
discordBranch = "stable"; # consider "ptb"
|
||||||
After = [ "graphical-session.target" ];
|
firstLaunch = false;
|
||||||
PartOf = [ "graphical-session.target" ];
|
arRPC = "on";
|
||||||
|
splashColor = "rgb(219, 222, 225)";
|
||||||
|
splashBackground = "rgb(49, 51, 56)";
|
||||||
|
checkUpdates = false;
|
||||||
|
staticTitle = true;
|
||||||
|
disableMinSize = true;
|
||||||
|
minimizeToTray = false;
|
||||||
|
tray = false;
|
||||||
|
appBadge = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
"autostart/vesktop.desktop" = mkIf cfg.autoStart {
|
||||||
Type = "simple";
|
source = "${pkgs.vesktop}/share/applications/vesktop.desktop";
|
||||||
Restart = "on-failure";
|
|
||||||
ExecStart = "${pkgs.vesktop}/bin/vesktop";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ in {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Open %I eww (ElKowar's Wacky Widgets) window";
|
Description = "Open %I eww (ElKowar's Wacky Widgets) window";
|
||||||
After = [ "eww.service" ];
|
After = [ "eww.service" ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
PartOf = [ "graphical-session-pre.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
osConfig,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (lib) mkIf;
|
|
||||||
|
|
||||||
cfg = osConfig.myOptions.home-manager.programs.tools.fastfetch;
|
|
||||||
in {
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
programs.fastfetch.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,31 +1,3 @@
|
||||||
{
|
{
|
||||||
lib,
|
programs.hyfetch.enable = true;
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,10 +136,6 @@
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
mullvad-browser.enable = true;
|
mullvad-browser.enable = true;
|
||||||
};
|
};
|
||||||
tools = {
|
|
||||||
fastfetch.enable = true;
|
|
||||||
hyfetch.enable = true;
|
|
||||||
};
|
|
||||||
spotify.enable = true;
|
spotify.enable = true;
|
||||||
stremio.enable = true;
|
stremio.enable = true;
|
||||||
vesktop = {
|
vesktop = {
|
||||||
|
|
|
@ -32,10 +32,5 @@ in
|
||||||
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
|
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
|
||||||
autoStart = mkEnableOption "Auto-Start for Vesktop";
|
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