Last fix on darwin new structure
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.shell.devenv;
|
||||
cfg = config.user.shell.devenv;
|
||||
in
|
||||
{
|
||||
options.home.shell.devenv = {
|
||||
options.user.shell.devenv = {
|
||||
enable = mkEnableOption "System devenv service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -5,16 +5,15 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.shell.git;
|
||||
cfg = config.user.shell.git;
|
||||
in
|
||||
{
|
||||
options.home.shell.git = {
|
||||
options.user.shell.git = {
|
||||
enable = mkEnableOption "Zen Editor options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
config.init.defaultBranch = "main";
|
||||
settings = {
|
||||
user = {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.shell.neovim;
|
||||
cfg = config.user.shell.neovim;
|
||||
in
|
||||
{
|
||||
options.home.shell.neovim = {
|
||||
options.user.shell.neovim = {
|
||||
enable = mkEnableOption "System neovim service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.shell.nh;
|
||||
cfg = config.user.shell.nh;
|
||||
in
|
||||
{
|
||||
options.home.shell.nh = {
|
||||
options.user.shell.nh = {
|
||||
enable = mkEnableOption "System nh service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.shell.zsh;
|
||||
cfg = config.user.shell.zsh;
|
||||
in
|
||||
{
|
||||
options.home.shell.zsh = {
|
||||
options.user.shell.zsh = {
|
||||
enable = mkEnableOption "System zsh service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.clion;
|
||||
cfg = config.user.ide.jetbrains.clion;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.clion = {
|
||||
options.user.ide.jetbrains.clion = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.datagrip;
|
||||
cfg = config.user.ide.jetbrains.datagrip;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.datagrip = {
|
||||
options.user.ide.jetbrains.datagrip = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.dataspell;
|
||||
cfg = config.user.ide.jetbrains.dataspell;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.dataspell = {
|
||||
options.user.ide.jetbrains.dataspell = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.goland;
|
||||
cfg = config.user.ide.jetbrains.goland;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.goland = {
|
||||
options.user.ide.jetbrains.goland = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.idea;
|
||||
cfg = config.user.ide.jetbrains.idea;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.idea = {
|
||||
options.user.ide.jetbrains.idea = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.phpstorm;
|
||||
cfg = config.user.ide.jetbrains.phpstorm;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.phpstorm = {
|
||||
options.user.ide.jetbrains.phpstorm = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.pycharm;
|
||||
cfg = config.user.ide.jetbrains.pycharm;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.pycharm = {
|
||||
options.user.ide.jetbrains.pycharm = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.rider;
|
||||
cfg = config.user.ide.jetbrains.rider;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.rider = {
|
||||
options.user.ide.jetbrains.rider = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.rubymine;
|
||||
cfg = config.user.ide.jetbrains.rubymine;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.rubymine = {
|
||||
options.user.ide.jetbrains.rubymine = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.rustrover;
|
||||
cfg = config.user.ide.jetbrains.rustrover;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.rustrover = {
|
||||
options.user.ide.jetbrains.rustrover = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.jetbrains.webstorm;
|
||||
cfg = config.user.ide.jetbrains.webstorm;
|
||||
in
|
||||
{
|
||||
options.home.ide.jetbrains.webstorm = {
|
||||
options.user.ide.jetbrains.webstorm = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.editor.obsidian;
|
||||
cfg = config.user.editor.obsidian;
|
||||
in
|
||||
{
|
||||
options.home.editor.obsidian = {
|
||||
options.user.editor.obsidian = {
|
||||
enable = mkEnableOption "Obsidian options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.ide.zed;
|
||||
cfg = config.user.ide.zed;
|
||||
in
|
||||
{
|
||||
options.home.ide.zed = {
|
||||
options.user.ide.zed = {
|
||||
enable = mkEnableOption "Zen Editor options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.iina;
|
||||
cfg = config.os.homebrew.iina;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.iina = {
|
||||
options.os.homebrew.iina = {
|
||||
enable = mkEnableOption "System iina homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.iterm;
|
||||
cfg = config.os.homebrew.iterm;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.iterm = {
|
||||
options.os.homebrew.iterm = {
|
||||
enable = mkEnableOption "System iterm homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.jetbrain;
|
||||
cfg = config.os.homebrew.jetbrain;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.jetbrain = {
|
||||
options.os.homebrew.jetbrain = {
|
||||
enable = mkEnableOption "System jetbrain homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.keka;
|
||||
cfg = config.os.homebrew.keka;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.keka = {
|
||||
options.os.homebrew.keka = {
|
||||
enable = mkEnableOption "System keka homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.microsoft;
|
||||
cfg = config.os.homebrew.microsoft;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.microsoft = {
|
||||
options.os.homebrew.microsoft = {
|
||||
enable = mkEnableOption "System microsoft homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.obsidian;
|
||||
cfg = config.os.homebrew.obsidian;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.obsidian = {
|
||||
options.os.homebrew.obsidian = {
|
||||
enable = mkEnableOption "System obsidian homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.zed;
|
||||
cfg = config.os.homebrew.zed;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.zed = {
|
||||
options.os.homebrew.zed = {
|
||||
enable = mkEnableOption "System zed homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.homebrew.zen;
|
||||
cfg = config.os.homebrew.zen;
|
||||
in
|
||||
{
|
||||
options.home.homebrew.zen = {
|
||||
options.os.homebrew.zen = {
|
||||
enable = mkEnableOption "System zen homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
Reference in New Issue
Block a user