qenya/packages: rename from cli, include common graphical packages

This commit is contained in:
Katherina Walshe-Grey 2024-10-08 10:46:05 +01:00
parent ecd98229ff
commit 84fb7727da
8 changed files with 40 additions and 48 deletions

View file

@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
tree # like `ls -R` but nicer
units
# Extremely important
fortune
cowsay
lolcat
];
programs.btop.enable = true;
}

View file

@ -2,9 +2,9 @@
imports = [
./dconf
./plasma
./cli.nix
./firefox.nix
./git.nix
./packages.nix
./tmux.nix
./vscode.nix
./xdg-mime-apps.nix

View file

@ -1,7 +1,12 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, osConfig, ... }:
let
inherit (lib) mkIf;
in
{
programs.firefox = {
programs.firefox = lib.mkIf osConfig.qenya.base-graphical.enable {
enable = true;
# coming in 24.11
# languagePacks = [ "en-GB" ];

29
home/qenya/packages.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, lib, pkgs, osConfig, ... }:
let
inherit (lib) optionals;
in
{
home.packages = with pkgs; [
tree # like `ls -R` but nicer
units
# Extremely important
fortune
cowsay
lolcat
] ++ optionals osConfig.qenya.base-graphical.enable [
bitwarden
discord
feishin
gimp-with-plugins
jellyfin-media-player
tor-browser-bundle-bin
zoom-us
# libreoffice
libreoffice
hunspell
hunspellDicts.en_GB-ise
];
}

View file

@ -4,7 +4,8 @@ let
inherit (lib) mkIf;
in
{
programs.vscode = {
programs.vscode = mkIf osConfig.qenya.base-graphical.enable {
enable = true;
enableExtensionUpdateCheck = false;
enableUpdateCheck = false;
package = pkgs.vscodium;