This commit is contained in:
parent
54954d6223
commit
54b43e4203
58 changed files with 224 additions and 242 deletions
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.browsers.firefox;
|
||||
cfg = config.desktop.browsers.firefox;
|
||||
in
|
||||
{
|
||||
options.features.desktop.browsers.firefox = {
|
||||
options.desktop.browsers.firefox = {
|
||||
enable = mkEnableOption "Enable firefox";
|
||||
|
||||
homepageUrl = mkOption {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.browsers.qutebrowser;
|
||||
cfg = config.desktop.browsers.qutebrowser;
|
||||
in
|
||||
{
|
||||
options.features.desktop.browsers.qutebrowser.enable =
|
||||
options.desktop.browsers.qutebrowser.enable =
|
||||
mkEnableOption "Enable qutebrowser";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.flameshot;
|
||||
cfg = config.desktop.flameshot;
|
||||
in
|
||||
{
|
||||
options.features.desktop.flameshot.enable = mkEnableOption "Enable flameshot";
|
||||
options.desktop.flameshot.enable = mkEnableOption "Enable flameshot";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.flameshot = {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.gtk;
|
||||
cfg = config.desktop.gtk;
|
||||
in
|
||||
{
|
||||
options.features.desktop.gtk.enable = mkEnableOption "Enable gtk";
|
||||
options.desktop.gtk.enable = mkEnableOption "Enable gtk";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
gtk = with pkgs; {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.media.handbrake;
|
||||
cfg = config.desktop.media.handbrake;
|
||||
in
|
||||
{
|
||||
options.features.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
|
||||
options.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.media.makemkv;
|
||||
cfg = config.desktop.media.makemkv;
|
||||
in
|
||||
{
|
||||
options.features.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
|
||||
options.desktop.media.makemkv.enable = mkEnableOption "Enable makemkv";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.desktop.media.mpv;
|
||||
cfg = config.desktop.media.mpv;
|
||||
in
|
||||
{
|
||||
options.features.desktop.media.mpv.enable = mkEnableOption "Enable mpv";
|
||||
options.desktop.media.mpv.enable = mkEnableOption "Enable mpv";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.mpv = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue