mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 02:19:41 +00:00
Compare commits
3 commits
47d070ce5e
...
874cbcec70
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | 874cbcec70 | ||
ItsDrike | 92e0e85ee6 | ||
ItsDrike | 9eb0fc4b0a |
|
@ -2,5 +2,6 @@ _: {
|
|||
imports = [
|
||||
./wayland.nix
|
||||
./stremio.nix
|
||||
./nomacs.nix
|
||||
];
|
||||
}
|
||||
|
|
16
home/packages/gui/nomacs.nix
Normal file
16
home/packages/gui/nomacs.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.nomacs;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
nomacs
|
||||
];
|
||||
};
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.stremio;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.stremio;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.spotify;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.spotify;
|
||||
spicePkgs = inputs.spicetify.packages.${pkgs.system}.default;
|
||||
in {
|
||||
imports = [inputs.spicetify.homeManagerModule];
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.vesktop;
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.vesktop;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ vesktop ];
|
||||
|
|
|
@ -62,9 +62,9 @@ in {
|
|||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
"eww-window@" = {
|
||||
"eww-window-bar0" = {
|
||||
Unit = {
|
||||
Description = "Open %I eww (ElKowar's Wacky Widgets) window";
|
||||
Description = "Open bar0 eww (ElKowar's Wacky Widgets) window";
|
||||
After = [ "eww.service" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
@ -73,8 +73,8 @@ in {
|
|||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
ExecStartPre = "${pkgs.eww}/bin/eww ping";
|
||||
ExecStart = "${pkgs.eww}/bin/eww open %i";
|
||||
ExecStop = "${pkgs.eww}/bin/eww close %i";
|
||||
ExecStart = "${pkgs.eww}/bin/eww open bar0";
|
||||
ExecStop = "${pkgs.eww}/bin/eww close bar0";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
||||
|
|
|
@ -101,8 +101,9 @@
|
|||
mullvad-browser.enable = true;
|
||||
schizofox.enable = true;
|
||||
};
|
||||
|
||||
spotify.enable = true;
|
||||
applications = {
|
||||
spotify.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -166,11 +166,14 @@
|
|||
fastfetch.enable = true;
|
||||
hyfetch.enable = true;
|
||||
};
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
applications = {
|
||||
spotify.enable = true;
|
||||
stremio.enable = true;
|
||||
vesktop = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
nomacs.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -26,11 +26,14 @@ in
|
|||
schizofox.enable = mkEnableOption "Schizophrenic version of Firefox browser";
|
||||
};
|
||||
|
||||
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";
|
||||
applications = {
|
||||
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";
|
||||
};
|
||||
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
||||
};
|
||||
|
||||
tools = {
|
||||
|
|
Loading…
Reference in a new issue