move chromium config to home level
This commit is contained in:
parent
6dd9ceb771
commit
77d70dcf2e
4 changed files with 24 additions and 18 deletions
21
home/modules/chromium.nix
Normal file
21
home/modules/chromium.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.youthlic.programs.chromium;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.chromium = {
|
||||
enable = lib.mkEnableOption "chromium";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime=true"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue