Last fix on darwin new structure
This commit is contained in:
@@ -54,23 +54,27 @@
|
|||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
nixos = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
|
self = self;
|
||||||
import-tree = import-tree;
|
import-tree = import-tree;
|
||||||
home-manager = home-manager;
|
home-manager = home-manager;
|
||||||
|
nixpkgs = nixpkgs;
|
||||||
|
nixpkgs-unstable = nixpkgs-unstable;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
./hosts/nixos/overlays.nix
|
||||||
(import-tree ./hosts/common)
|
(import-tree ./hosts/common)
|
||||||
(import ./hosts/nixos/overlays.nix { inherit nixpkgs nixpkgs-unstable; })
|
|
||||||
|
|
||||||
(import-tree ./modules/system/nixos)
|
(import-tree ./modules/system/nixos)
|
||||||
(import-tree ./hosts/nixos/system)
|
(import-tree ./hosts/nixos/system)
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
(import-tree ./hosts/common)
|
./hosts/nixos/overlays.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
(import ./hosts/nixos/overlays.nix { inherit nixpkgs nixpkgs-unstable; })
|
(import-tree ./hosts/common)
|
||||||
|
|
||||||
|
(import-tree ./modules/home/common)
|
||||||
(import-tree ./modules/home/nixos)
|
(import-tree ./modules/home/nixos)
|
||||||
(import-tree ./hosts/darwin/home)
|
(import-tree ./hosts/nixos/home)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -84,18 +88,16 @@
|
|||||||
homebrew-cask = homebrew-cask;
|
homebrew-cask = homebrew-cask;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
(import-tree ./hosts/common)
|
|
||||||
nix-homebrew.darwinModules.nix-homebrew
|
nix-homebrew.darwinModules.nix-homebrew
|
||||||
(import ./hosts/nixos/overlays.nix { inherit nixpkgs nixpkgs-unstable; })
|
(import-tree ./modules/system/darwin)
|
||||||
|
|
||||||
|
(import-tree ./hosts/common)
|
||||||
(import-tree ./hosts/darwin/system)
|
(import-tree ./hosts/darwin/system)
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
(import-tree ./hosts/common)
|
|
||||||
home-manager.darwinModules.home-manager
|
home-manager.darwinModules.home-manager
|
||||||
(import ./hosts/nixos/overlays.nix { inherit nixpkgs nixpkgs-unstable; })
|
|
||||||
|
|
||||||
(import-tree ./modules/home/darwin)
|
(import-tree ./hosts/common)
|
||||||
(import-tree ./hosts/darwin/home)
|
(import-tree ./hosts/darwin/home)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{ import-tree, ... }:
|
{ import-tree, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.alistreaza = {
|
home-manager.users.alistreaza = {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(import-tree ../../common)
|
(import-tree ../../../modules/home/common)
|
||||||
|
(import-tree ../../../modules/home/darwin)
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
@@ -12,21 +12,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Shell apps
|
# Shell apps
|
||||||
home.shell.zsh = true;
|
user.shell.zsh.enable = true;
|
||||||
home.shell.git = true;
|
user.shell.git.enable = true;
|
||||||
home.shell.neovim = true;
|
user.shell.neovim.enable = true;
|
||||||
home.shell.nh.enable = true;
|
user.shell.nh.enable = true;
|
||||||
home.shell.devenv.enable = true;
|
user.shell.devenv.enable = true;
|
||||||
|
|
||||||
# Homebrew apps
|
|
||||||
home.homebrew.iterm = true;
|
|
||||||
home.homebrew.zed = true;
|
|
||||||
home.homebrew.jetbrain = true;
|
|
||||||
home.homebrew.iina = true;
|
|
||||||
home.homebrew.zen = true;
|
|
||||||
home.homebrew.obsidian = true;
|
|
||||||
home.homebrew.microsoft = true;
|
|
||||||
home.homebrew.keka = true;
|
|
||||||
|
|
||||||
# No Home Application Folders
|
# No Home Application Folders
|
||||||
targets.darwin.linkApps.enable = false;
|
targets.darwin.linkApps.enable = false;
|
||||||
|
|||||||
@@ -2,6 +2,16 @@
|
|||||||
{
|
{
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
|
|
||||||
|
# Homebrew apps
|
||||||
|
os.homebrew.iterm.enable = true;
|
||||||
|
os.homebrew.zed.enable = true;
|
||||||
|
os.homebrew.jetbrain.enable = true;
|
||||||
|
os.homebrew.iina.enable = true;
|
||||||
|
os.homebrew.zen.enable = true;
|
||||||
|
os.homebrew.obsidian.enable = true;
|
||||||
|
os.homebrew.microsoft.enable = true;
|
||||||
|
os.homebrew.keka.enable = true;
|
||||||
|
|
||||||
# System version
|
# System version
|
||||||
system.stateVersion = "25.11";
|
system.stateVersion = "25.11";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{ import-tree, ... }:
|
{ import-tree, ... }:
|
||||||
{
|
{
|
||||||
home-manager.users.alistreaza = {
|
home-manager.users.alistreaza = {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(import-tree ../../common)
|
(import-tree ../../../modules/home/common)
|
||||||
|
(import-tree ../../../modules/home/nixos)
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
@@ -12,27 +12,27 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Shell apps
|
# Shell apps
|
||||||
home.shell.zsh = true;
|
user.shell.zsh.enable = true;
|
||||||
home.shell.git = true;
|
user.shell.git.enable = true;
|
||||||
home.shell.neovim = true;
|
user.shell.neovim.enable = true;
|
||||||
home.shell.nh.enable = true;
|
user.shell.nh.enable = true;
|
||||||
home.shell.devenv.enable = true;
|
user.shell.devenv.enable = true;
|
||||||
|
|
||||||
# Code editor
|
# Code editor
|
||||||
home.ide.zed.enable = true;
|
user.ide.zed.enable = true;
|
||||||
|
|
||||||
# IDE Jetbrains
|
# IDE Jetbrains
|
||||||
home.ide.jetbrains.idea.enable = false;
|
user.ide.jetbrains.idea.enable = false;
|
||||||
home.ide.jetbrains.pycharm.enable = false;
|
user.ide.jetbrains.pycharm.enable = false;
|
||||||
home.ide.jetbrains.phpstorm.enable = false;
|
user.ide.jetbrains.phpstorm.enable = false;
|
||||||
home.ide.jetbrains.rustrover.enable = false;
|
user.ide.jetbrains.rustrover.enable = false;
|
||||||
|
|
||||||
# IDE Data Jetbrains
|
# IDE Data Jetbrains
|
||||||
home.ide.jetbrains.datagrip.enable = false;
|
user.ide.jetbrains.datagrip.enable = false;
|
||||||
home.ide.jetbrains.dataspell.enable = false;
|
user.ide.jetbrains.dataspell.enable = false;
|
||||||
|
|
||||||
# Markdown Editor
|
# Markdown Editor
|
||||||
home.editor.obsidian.enable = false;
|
user.editor.obsidian.enable = false;
|
||||||
|
|
||||||
# The state version is required and should stay at the version you
|
# The state version is required and should stay at the version you
|
||||||
# originally installed.
|
# originally installed.
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.shell.devenv;
|
cfg = config.user.shell.devenv;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.shell.devenv = {
|
options.user.shell.devenv = {
|
||||||
enable = mkEnableOption "System devenv service";
|
enable = mkEnableOption "System devenv service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -5,16 +5,15 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.shell.git;
|
cfg = config.user.shell.git;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.shell.git = {
|
options.user.shell.git = {
|
||||||
enable = mkEnableOption "Zen Editor options";
|
enable = mkEnableOption "Zen Editor options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
|
||||||
config.init.defaultBranch = "main";
|
config.init.defaultBranch = "main";
|
||||||
settings = {
|
settings = {
|
||||||
user = {
|
user = {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.shell.neovim;
|
cfg = config.user.shell.neovim;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.shell.neovim = {
|
options.user.shell.neovim = {
|
||||||
enable = mkEnableOption "System neovim service";
|
enable = mkEnableOption "System neovim service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.shell.nh;
|
cfg = config.user.shell.nh;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.shell.nh = {
|
options.user.shell.nh = {
|
||||||
enable = mkEnableOption "System nh service";
|
enable = mkEnableOption "System nh service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.shell.zsh;
|
cfg = config.user.shell.zsh;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.shell.zsh = {
|
options.user.shell.zsh = {
|
||||||
enable = mkEnableOption "System zsh service";
|
enable = mkEnableOption "System zsh service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.clion;
|
cfg = config.user.ide.jetbrains.clion;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.clion = {
|
options.user.ide.jetbrains.clion = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.datagrip;
|
cfg = config.user.ide.jetbrains.datagrip;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.datagrip = {
|
options.user.ide.jetbrains.datagrip = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.dataspell;
|
cfg = config.user.ide.jetbrains.dataspell;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.dataspell = {
|
options.user.ide.jetbrains.dataspell = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.goland;
|
cfg = config.user.ide.jetbrains.goland;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.goland = {
|
options.user.ide.jetbrains.goland = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.idea;
|
cfg = config.user.ide.jetbrains.idea;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.idea = {
|
options.user.ide.jetbrains.idea = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.phpstorm;
|
cfg = config.user.ide.jetbrains.phpstorm;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.phpstorm = {
|
options.user.ide.jetbrains.phpstorm = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.pycharm;
|
cfg = config.user.ide.jetbrains.pycharm;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.pycharm = {
|
options.user.ide.jetbrains.pycharm = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.rider;
|
cfg = config.user.ide.jetbrains.rider;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.rider = {
|
options.user.ide.jetbrains.rider = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.rubymine;
|
cfg = config.user.ide.jetbrains.rubymine;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.rubymine = {
|
options.user.ide.jetbrains.rubymine = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.rustrover;
|
cfg = config.user.ide.jetbrains.rustrover;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.rustrover = {
|
options.user.ide.jetbrains.rustrover = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.jetbrains.webstorm;
|
cfg = config.user.ide.jetbrains.webstorm;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.jetbrains.webstorm = {
|
options.user.ide.jetbrains.webstorm = {
|
||||||
enable = mkEnableOption "JetBrains options";
|
enable = mkEnableOption "JetBrains options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.editor.obsidian;
|
cfg = config.user.editor.obsidian;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.editor.obsidian = {
|
options.user.editor.obsidian = {
|
||||||
enable = mkEnableOption "Obsidian options";
|
enable = mkEnableOption "Obsidian options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.ide.zed;
|
cfg = config.user.ide.zed;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.ide.zed = {
|
options.user.ide.zed = {
|
||||||
enable = mkEnableOption "Zen Editor options";
|
enable = mkEnableOption "Zen Editor options";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.iina;
|
cfg = config.os.homebrew.iina;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.iina = {
|
options.os.homebrew.iina = {
|
||||||
enable = mkEnableOption "System iina homebrew service";
|
enable = mkEnableOption "System iina homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.iterm;
|
cfg = config.os.homebrew.iterm;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.iterm = {
|
options.os.homebrew.iterm = {
|
||||||
enable = mkEnableOption "System iterm homebrew service";
|
enable = mkEnableOption "System iterm homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.jetbrain;
|
cfg = config.os.homebrew.jetbrain;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.jetbrain = {
|
options.os.homebrew.jetbrain = {
|
||||||
enable = mkEnableOption "System jetbrain homebrew service";
|
enable = mkEnableOption "System jetbrain homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.keka;
|
cfg = config.os.homebrew.keka;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.keka = {
|
options.os.homebrew.keka = {
|
||||||
enable = mkEnableOption "System keka homebrew service";
|
enable = mkEnableOption "System keka homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.microsoft;
|
cfg = config.os.homebrew.microsoft;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.microsoft = {
|
options.os.homebrew.microsoft = {
|
||||||
enable = mkEnableOption "System microsoft homebrew service";
|
enable = mkEnableOption "System microsoft homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.obsidian;
|
cfg = config.os.homebrew.obsidian;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.obsidian = {
|
options.os.homebrew.obsidian = {
|
||||||
enable = mkEnableOption "System obsidian homebrew service";
|
enable = mkEnableOption "System obsidian homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.zed;
|
cfg = config.os.homebrew.zed;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.zed = {
|
options.os.homebrew.zed = {
|
||||||
enable = mkEnableOption "System zed homebrew service";
|
enable = mkEnableOption "System zed homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.home.homebrew.zen;
|
cfg = config.os.homebrew.zen;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.home.homebrew.zen = {
|
options.os.homebrew.zen = {
|
||||||
enable = mkEnableOption "System zen homebrew service";
|
enable = mkEnableOption "System zen homebrew service";
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
Reference in New Issue
Block a user