Modularise firefox and rofi

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

15
modules/app/firefox.nix Normal file
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
];
};
}