Skip to content

Commit

Permalink
set glances enable to nixos only
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaq committed Mar 28, 2024
1 parent 86fe4f6 commit 903e3e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/hosts/suites/basics/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ in
config = mkIf cfg.enable {
yomaq = {
zsh.enable =true;
glances.enable = true;
};
nixpkgs.overlays = [ inputs.agenix.overlays.default ];
environment.systemPackages = with pkgs; [
Expand Down
13 changes: 13 additions & 0 deletions modules/hosts/suites/basics/nixos.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ options, config, lib, pkgs, inputs, ... }:

with lib;
let
cfg = config.yomaq.suites.basics;
in
{
config = mkIf cfg.enable {
yomaq = {
glances.enable = true;
};
};
}

0 comments on commit 903e3e9

Please sign in to comment.