home-manager: make the hm modules match the nixos ones
This commit is contained in:
parent
4fc501b1e2
commit
32a5ebf118
16 changed files with 256 additions and 98 deletions
|
|
@ -1,9 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
#todo config
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
#todo make sure this on only if gnome is setup correctly
|
||||
nativeMessagingHosts = [ pkgs.gnome-browser-connector ];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.settings.programs.firefox = {
|
||||
enable = lib.mkEnableOption "enable firefox";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.firefox.enable {
|
||||
#todo config
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
#todo make sure this on only if gnome is setup correctly
|
||||
nativeMessagingHosts = [ pkgs.gnome-browser-connector ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue