header order changed, multimedia
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
./apps/fonts.nix
|
||||
./apps/gaming.nix
|
||||
./apps/internet.nix
|
||||
./apps/multimedia.nix
|
||||
./apps/office.nix
|
||||
];
|
||||
my = {
|
||||
@@ -17,6 +18,7 @@
|
||||
fonts.enable = lib.mkDefault false;
|
||||
gaming.enable = lib.mkDefault false;
|
||||
internet.enable = lib.mkDefault false;
|
||||
multimedia.enable = lib.mkDefault false;
|
||||
office.enable = lib.mkDefault false;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, unstable, ... }:
|
||||
{ config, lib, pkgs, unstable, ... }:
|
||||
let
|
||||
unstable = import
|
||||
(builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master") {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, unstable, ... }:
|
||||
{ config, lib, pkgs, unstable, ... }:
|
||||
|
||||
{
|
||||
options.my.apps.dictionaries.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, unstable, ... }:
|
||||
{ config, lib, pkgs, unstable, ... }:
|
||||
|
||||
{
|
||||
options.my.apps.fonts.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.apps.gaming.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, unstable, ... }:
|
||||
{ config, lib, pkgs, unstable, ... }:
|
||||
|
||||
{
|
||||
options.my.apps.internet.enable = lib.mkEnableOption "enable";
|
||||
|
||||
20
modules/apps/multimedia.nix
Normal file
20
modules/apps/multimedia.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.apps.multimedia.enable = lib.mkEnableOption "enable";
|
||||
config = lib.mkIf config.my.apps.multimedia.enable {
|
||||
users.users.jawz.packages = with pkgs; ([
|
||||
# cozy # audiobooks player
|
||||
# gnome-podcasts # podcast player
|
||||
# hakuneko # manga & comic GUI downloader
|
||||
celluloid # video player
|
||||
curtail # image compressor
|
||||
easyeffects # equalizer
|
||||
handbrake # video converter, may be unnecessary
|
||||
identity # compare images or videos
|
||||
mousai # poor man shazam
|
||||
shortwave # listen to world radio
|
||||
tagger # tag music files
|
||||
]);
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, unstable, ... }:
|
||||
{ config, lib, pkgs, unstable, ... }:
|
||||
|
||||
{
|
||||
options.my.apps.office.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.dev.haskell.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.dev.nix.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.dev.python.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.services.network.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
options.my.services.nvidia.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
let printingDrivers = [ pkgs.hplip pkgs.hplipWithPlugin ];
|
||||
in {
|
||||
options.my.services.printing.enable = lib.mkEnableOption "enable";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
# let
|
||||
# nixGaming = import (builtins.fetchTarball
|
||||
# "https://github.com/fufexan/nix-gaming/archive/master.tar.gz");
|
||||
|
||||
Reference in New Issue
Block a user