Modularise firefox and rofi
This commit is contained in:
1 parent
4fc20b6d4f
commit
2d20a13d7d
6 files changed
+36
-2
No files matched your search
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user