Ajout de devenv en common
This commit is contained in:
1 parent
98040ba17e
commit
bb3a520b43
3 files changed
+27
-25
No files matched your search
@@ -65,6 +65,7 @@
|
|||||||
(import-tree ./overlays/nixos)
|
(import-tree ./overlays/nixos)
|
||||||
(import-tree ./hosts/common)
|
(import-tree ./hosts/common)
|
||||||
|
|
||||||
|
(import-tree ./modules/system/common)
|
||||||
(import-tree ./modules/system/nixos)
|
(import-tree ./modules/system/nixos)
|
||||||
(import-tree ./hosts/nixos/system)
|
(import-tree ./hosts/nixos/system)
|
||||||
]
|
]
|
||||||
@@ -89,11 +90,12 @@
|
|||||||
homebrew-cask = homebrew-cask;
|
homebrew-cask = homebrew-cask;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
nix-homebrew.darwinModules.nix-homebrew
|
|
||||||
(import-tree ./modules/system/darwin)
|
|
||||||
|
|
||||||
(import-tree ./hosts/common)
|
(import-tree ./hosts/common)
|
||||||
(import-tree ./hosts/darwin/system)
|
(import-tree ./hosts/darwin/system)
|
||||||
|
|
||||||
|
nix-homebrew.darwinModules.nix-homebrew
|
||||||
|
(import-tree ./modules/system/common)
|
||||||
|
(import-tree ./modules/system/darwin)
|
||||||
]
|
]
|
||||||
++ [
|
++ [
|
||||||
(import-tree ./overlays/darwin)
|
(import-tree ./overlays/darwin)
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.home.shell.devenv;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.home.shell.devenv = {
|
|
||||||
enable = mkEnableOption "Git options";
|
|
||||||
};
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
devenv
|
|
||||||
];
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
let
|
||||||
|
cfg = config.os.shell.devenv;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.os.shell.devenv = {
|
||||||
|
enable = mkEnableOption "Devenv options";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
pkgs.devenv
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user