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.cli.bluetuith;
|
||||
cfg = config.cli.bluetuith;
|
||||
in
|
||||
{
|
||||
options.features.cli.bluetuith.enable = mkEnableOption "Enable bluetuith";
|
||||
options.cli.bluetuith.enable = mkEnableOption "Enable bluetuith";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.direnv;
|
||||
cfg = config.cli.direnv;
|
||||
in
|
||||
{
|
||||
options.features.cli.direnv.enable = mkEnableOption "Enable direnv";
|
||||
options.cli.direnv.enable = mkEnableOption "Enable direnv";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.direnv = {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.fzf;
|
||||
cfg = config.cli.fzf;
|
||||
in
|
||||
{
|
||||
options.features.cli.fzf.enable = mkEnableOption "Enable fzf";
|
||||
options.cli.fzf.enable = mkEnableOption "Enable fzf";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.fzf = {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.git;
|
||||
cfg = config.cli.git;
|
||||
in
|
||||
{
|
||||
options.features.cli.git = {
|
||||
options.cli.git = {
|
||||
enable = mkEnableOption "Enable git";
|
||||
|
||||
user = mkOption {
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.node;
|
||||
cfg = config.cli.node;
|
||||
|
||||
inherit (config.xdg) configHome dataHome stateHome;
|
||||
in
|
||||
{
|
||||
options.features.cli.node.enable = mkEnableOption "Enable node";
|
||||
options.cli.node.enable = mkEnableOption "Enable node";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
xdg.configFile."${config.home.sessionVariables.NPM_CONFIG_USERCONFIG}".text = ''
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.notes;
|
||||
cfg = config.cli.notes;
|
||||
in
|
||||
{
|
||||
options.features.cli.notes.enable = mkEnableOption "Enable notes";
|
||||
options.cli.notes.enable = mkEnableOption "Enable notes";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
xdg = {
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.ranger;
|
||||
cfg = config.cli.ranger;
|
||||
in
|
||||
{
|
||||
options.features.cli.ranger.enable = mkEnableOption "Enable ranger";
|
||||
options.cli.ranger.enable = mkEnableOption "Enable ranger";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.ranger.enable = true;
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.starship;
|
||||
cfg = config.cli.starship;
|
||||
in
|
||||
{
|
||||
options.features.cli.starship.enable = mkEnableOption "Enable starship";
|
||||
options.cli.starship.enable = mkEnableOption "Enable starship";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.starship =
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.tmux-sessionizer;
|
||||
cfg = config.cli.tmux-sessionizer;
|
||||
in
|
||||
{
|
||||
options.features.cli.tmux-sessionizer = {
|
||||
options.cli.tmux-sessionizer = {
|
||||
enable = mkEnableOption "Enable tmux-sessionizer";
|
||||
|
||||
directories = mkOption {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.tmux;
|
||||
cfg = config.cli.tmux;
|
||||
in
|
||||
{
|
||||
options.features.cli.tmux.enable = mkEnableOption "Enable tmux";
|
||||
options.cli.tmux.enable = mkEnableOption "Enable tmux";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.tmux = {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.cli.zsh;
|
||||
cfg = config.cli.zsh;
|
||||
in
|
||||
{
|
||||
options.features.cli.zsh.enable = mkEnableOption "Enable zsh";
|
||||
options.cli.zsh.enable = mkEnableOption "Enable zsh";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.zsh = {
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.coding.neovim;
|
||||
cfg = config.coding.neovim;
|
||||
in
|
||||
{
|
||||
options.features.coding.neovim.enable = mkEnableOption "Enable neovim";
|
||||
options.coding.neovim.enable = mkEnableOption "Enable neovim";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.neovim =
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.features.coding.phpactor;
|
||||
cfg = config.coding.phpactor;
|
||||
in
|
||||
{
|
||||
options.features.coding.phpactor.enable = lib.mkEnableOption "Enable phpactor";
|
||||
options.coding.phpactor.enable = lib.mkEnableOption "Enable phpactor";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -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