qenya/packages: rename from cli, include common graphical packages
This commit is contained in:
parent
ecd98229ff
commit
84fb7727da
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
btop
|
||||
git
|
||||
lshw
|
||||
parted
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
imports = [
|
||||
./dconf
|
||||
./plasma
|
||||
./cli.nix
|
||||
./firefox.nix
|
||||
./git.nix
|
||||
./packages.nix
|
||||
./tmux.nix
|
||||
./vscode.nix
|
||||
./xdg-mime-apps.nix
|
||||
|
|
|
@ -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
29
home/qenya/packages.nix
Normal 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
|
||||
];
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -29,19 +29,6 @@
|
|||
users.users.qenya.hashedPasswordFile = config.age.secrets.user-password-kilgharrah-qenya.path;
|
||||
users.users.qenya.extraGroups = [ "wheel" ];
|
||||
home-manager.users.qenya = {
|
||||
programs.firefox.enable = true;
|
||||
programs.vscode.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
bitwarden
|
||||
discord
|
||||
feishin
|
||||
gimp-with-plugins
|
||||
jellyfin-media-player
|
||||
tor-browser-bundle-bin
|
||||
zoom-us
|
||||
];
|
||||
|
||||
# For the moment, this hosts some network-accessible services, so we want it on 24/7
|
||||
programs.plasma.powerdevil.AC.autoSuspend.action = "nothing";
|
||||
};
|
||||
|
|
|
@ -1,28 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.firefox.enable = true;
|
||||
programs.vscode.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
bitwarden
|
||||
discord
|
||||
feishin
|
||||
gimp-with-plugins
|
||||
jellyfin-media-player
|
||||
keepassxc
|
||||
tor-browser-bundle-bin
|
||||
zoom-us
|
||||
|
||||
amberol
|
||||
foliate
|
||||
nicotine-plus
|
||||
|
||||
# libreoffice
|
||||
libreoffice
|
||||
hunspell
|
||||
hunspellDicts.en_GB-ise
|
||||
|
||||
# games
|
||||
openttd
|
||||
prismlauncher
|
||||
|
|
Loading…
Reference in a new issue