mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 02:19:41 +00:00
Compare commits
4 commits
408e9fc6cb
...
d3a40dd759
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | d3a40dd759 | ||
ItsDrike | f726805e5c | ||
ItsDrike | b55b49c842 | ||
ItsDrike | 142ad87364 |
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./wayland.nix
|
||||
./stremio.nix
|
||||
];
|
||||
}
|
||||
|
|
17
home/packages/gui/stremio.nix
Normal file
17
home/packages/gui/stremio.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.stremio;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
stremio
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./spotify
|
||||
./vesktop
|
||||
];
|
||||
}
|
||||
|
|
34
home/programs/graphical/apps/vesktop/default.nix
Normal file
34
home/programs/graphical/apps/vesktop/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.vesktop;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ vesktop ];
|
||||
|
||||
xdg.configFile = {
|
||||
"vesktop/settings.json".text = builtins.toJSON {
|
||||
discordBranch = "stable"; # consider "ptb"
|
||||
firstLaunch = false;
|
||||
arRPC = "on";
|
||||
splashColor = "rgb(219, 222, 225)";
|
||||
splashBackground = "rgb(49, 51, 56)";
|
||||
checkUpdates = false;
|
||||
staticTitle = true;
|
||||
disableMinSize = true;
|
||||
minimizeToTray = false;
|
||||
tray = false;
|
||||
appBadge = false;
|
||||
};
|
||||
|
||||
"autostart/vesktop.desktop" = mkIf cfg.autoStart {
|
||||
source = "${pkgs.vesktop}/share/applications/vesktop.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$1" = "temperature" ]; then
|
||||
watch_cmd="{t}"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# $1: Current number
|
||||
# $2: Range minimum
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=include
|
||||
source "./scripts/include"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
MOUNTPOINTS=("/" "/mnt/ext")
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=include
|
||||
source "./scripts/include"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Define some icons
|
||||
SPEAKER_ICONS=("" "" "")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=include
|
||||
source "./scripts/include"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# shellcheck source=include
|
||||
source "./scripts/include"
|
||||
|
|
|
@ -62,7 +62,9 @@
|
|||
".mozilla"
|
||||
".mullvad"
|
||||
".config/chromium"
|
||||
".config/vesktop"
|
||||
".local/share/gnupg"
|
||||
".local/share/zoxide"
|
||||
".local/share/wakatime"
|
||||
".local/share/nvim"
|
||||
".local/state/nvim"
|
||||
|
@ -135,6 +137,11 @@
|
|||
mullvad-browser.enable = true;
|
||||
};
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -27,5 +27,10 @@ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue