mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 11:05:23 -05:00
merge?
This commit is contained in:
parent
43508d4653
commit
16e71e9921
1 changed files with 16 additions and 14 deletions
|
|
@ -8,17 +8,19 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.openscad.enable) {
|
||||
environment.systemPackages = [
|
||||
pkgs.openscad
|
||||
];
|
||||
lib.mkIf (config.vscode.enable) {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
Leathong.openscad-language-support
|
||||
];
|
||||
};
|
||||
};
|
||||
# config = lib.mkMerge [
|
||||
# (lib.mkIf)
|
||||
# ]
|
||||
}
|
||||
config = lib.mkIf (config.gui.enable && config.openscad.enable)
|
||||
(
|
||||
lib.mkMerge [
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.openscad
|
||||
];
|
||||
}
|
||||
(lib.mkIf (config.vscode.enable) {
|
||||
extensions = with.pkgs.vscode-extensions; [
|
||||
Leathong.openscad-language-support
|
||||
];
|
||||
})
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue