Fix on modules name and on zsh
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.shell.devenv;
|
||||
cfg = config.home.shell.devenv;
|
||||
in
|
||||
{
|
||||
options.user.shell.devenv = {
|
||||
options.home.shell.devenv = {
|
||||
enable = mkEnableOption "System devenv service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
@@ -5,10 +5,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.shell.git;
|
||||
cfg = config.home.shell.git;
|
||||
in
|
||||
{
|
||||
options.user.shell.git = {
|
||||
options.home.shell.git = {
|
||||
enable = mkEnableOption "Zen Editor options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.shell.neovim;
|
||||
cfg = config.home.shell.neovim;
|
||||
in
|
||||
{
|
||||
options.user.shell.neovim = {
|
||||
options.home.shell.neovim = {
|
||||
enable = mkEnableOption "System neovim service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.shell.nh;
|
||||
cfg = config.home.shell.nh;
|
||||
in
|
||||
{
|
||||
options.user.shell.nh = {
|
||||
options.home.shell.nh = {
|
||||
enable = mkEnableOption "System nh service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.shell.zsh;
|
||||
cfg = config.home.shell.zsh;
|
||||
in
|
||||
{
|
||||
options.user.shell.zsh = {
|
||||
options.home.shell.zsh = {
|
||||
enable = mkEnableOption "System zsh service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.clion;
|
||||
cfg = config.home.ide.jetbrains.clion;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.clion = {
|
||||
options.home.ide.jetbrains.clion = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.datagrip;
|
||||
cfg = config.home.ide.jetbrains.datagrip;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.datagrip = {
|
||||
options.home.ide.jetbrains.datagrip = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.dataspell;
|
||||
cfg = config.home.ide.jetbrains.dataspell;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.dataspell = {
|
||||
options.home.ide.jetbrains.dataspell = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.goland;
|
||||
cfg = config.home.ide.jetbrains.goland;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.goland = {
|
||||
options.home.ide.jetbrains.goland = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.idea;
|
||||
cfg = config.home.ide.jetbrains.idea;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.idea = {
|
||||
options.home.ide.jetbrains.idea = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.phpstorm;
|
||||
cfg = config.home.ide.jetbrains.phpstorm;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.phpstorm = {
|
||||
options.home.ide.jetbrains.phpstorm = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.pycharm;
|
||||
cfg = config.home.ide.jetbrains.pycharm;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.pycharm = {
|
||||
options.home.ide.jetbrains.pycharm = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.rider;
|
||||
cfg = config.home.ide.jetbrains.rider;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.rider = {
|
||||
options.home.ide.jetbrains.rider = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.rubymine;
|
||||
cfg = config.home.ide.jetbrains.rubymine;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.rubymine = {
|
||||
options.home.ide.jetbrains.rubymine = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.rustrover;
|
||||
cfg = config.home.ide.jetbrains.rustrover;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.rustrover = {
|
||||
options.home.ide.jetbrains.rustrover = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.jetbrains.webstorm;
|
||||
cfg = config.home.ide.jetbrains.webstorm;
|
||||
in
|
||||
{
|
||||
options.user.ide.jetbrains.webstorm = {
|
||||
options.home.ide.jetbrains.webstorm = {
|
||||
enable = mkEnableOption "JetBrains options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.editor.obsidian;
|
||||
cfg = config.home.md.obsidian;
|
||||
in
|
||||
{
|
||||
options.user.editor.obsidian = {
|
||||
options.home.md.obsidian = {
|
||||
enable = mkEnableOption "Obsidian options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.user.ide.zed;
|
||||
cfg = config.home.ide.zed;
|
||||
in
|
||||
{
|
||||
options.user.ide.zed = {
|
||||
options.home.ide.zed = {
|
||||
enable = mkEnableOption "Zen Editor options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
Reference in New Issue
Block a user