remove firefox from non-desktops

This commit is contained in:
2023-12-11 20:05:32 +02:00
parent 9719521847
commit c9aeac6ebe
5 changed files with 10 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
pkgs,
stateVersion,
email,
devEnvironment,
fullDesktop,
hmOnly,
...
}: {
@@ -16,7 +16,7 @@
home.packages = with pkgs;
(
if devEnvironment
if fullDesktop
then [
go
@@ -45,7 +45,7 @@
programs = {
direnv.enable = true;
firefox = {
firefox = lib.mkIf fullDesktop {
enable = true;
profiles = {
xdefault = {
@@ -80,7 +80,7 @@
fugitive
]
++ (
if devEnvironment
if fullDesktop
then [
vim-go
@@ -96,7 +96,7 @@
);
extraConfig = builtins.readFile ./vimrc;
}
(lib.mkIf devEnvironment {
(lib.mkIf fullDesktop {
extraLuaConfig =
builtins.readFile
(pkgs.substituteAll {