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 = {
|
||||
enable = true;
|
||||
enable = if config.machine.isGraphical then true else false;
|
||||
settings = {
|
||||
window = {
|
||||
decorations = "full";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
let
|
||||
chromium_extension = [
|
||||
|
@ -22,7 +22,7 @@ let
|
|||
in
|
||||
{
|
||||
programs.vivaldi = {
|
||||
enable = true;
|
||||
enable = if config.machine.isGraphical then true else false;
|
||||
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
|
||||
commandLineArgs = [
|
||||
"--ignore-gpu-blocklist"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
enable = if config.machine.isGraphical then true else false;
|
||||
};
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
enable = if config.machine.isGraphical then true else false;
|
||||
scripts = with pkgs.mpvScripts; [ autoload mpris sponsorblock ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue