mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-24 17:08:48 +01:00
remove programs from non graphical envs
This commit is contained in:
parent
f8f8d4ca2b
commit
5c9e9661f8
4 changed files with 8 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = if config.machine.isGraphical then true else false;
|
||||||
settings = {
|
settings = {
|
||||||
window = {
|
window = {
|
||||||
decorations = "full";
|
decorations = "full";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
chromium_extension = [
|
chromium_extension = [
|
||||||
|
@ -22,7 +22,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.vivaldi = {
|
programs.vivaldi = {
|
||||||
enable = true;
|
enable = if config.machine.isGraphical then true else false;
|
||||||
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
|
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
|
||||||
commandLineArgs = [
|
commandLineArgs = [
|
||||||
"--ignore-gpu-blocklist"
|
"--ignore-gpu-blocklist"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = if config.machine.isGraphical then true else false;
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
enable = true;
|
enable = if config.machine.isGraphical then true else false;
|
||||||
scripts = with pkgs.mpvScripts; [ autoload mpris sponsorblock ];
|
scripts = with pkgs.mpvScripts; [ autoload mpris sponsorblock ];
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue