Modularise firefox and rofi

This commit is contained in:
marc committed 2022-11-19 16:43:28 +01:00
1 parent 4fc20b6d4f
commit 2d20a13d7d
6 files changed
+36 -2

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.app.firefox;
in
{
options.samfelag.modules.app.firefox = {
enable = lib.mkEnableOption "firefox";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
firefox
];
};
}