Skip to content

Commit

Permalink
feat(hosts/pc): added assertions for JVM module in PC profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Dec 25, 2023
1 parent a8b4bb1 commit 66f44d3
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 42 deletions.
96 changes: 56 additions & 40 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions hosts/pc/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@

programs.droidcam.enable = true;

# TODO Add filebot service
# No JAVA/JVM technologies
assertions = [
{
assertion = !config.modules.dev.jvm.enable;
message = "Java/JVM technologies doesn't allow in this profile";
}
];

modules =
let
Expand All @@ -43,7 +49,6 @@
dev = {
goland.enable = true;
pycharm.enable = true;
clion.enable = true;
};
hardware = {
sound.enable = true;
Expand Down

0 comments on commit 66f44d3

Please sign in to comment.