move chromium config to home level
This commit is contained in:
parent
6dd9ceb771
commit
77d70dcf2e
4 changed files with 24 additions and 18 deletions
|
|
@ -25,6 +25,7 @@
|
|||
mpv.enable = true;
|
||||
atuin.enable = true;
|
||||
obs.enable = true;
|
||||
chromium.enable = true;
|
||||
};
|
||||
|
||||
david = {
|
||||
|
|
@ -68,13 +69,4 @@
|
|||
viu
|
||||
just
|
||||
];
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime=true"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
atuin.enable = true;
|
||||
thunderbird.enable = true;
|
||||
obs.enable = true;
|
||||
chromium.enable = true;
|
||||
};
|
||||
|
||||
david = {
|
||||
|
|
@ -76,13 +77,4 @@
|
|||
viu
|
||||
just
|
||||
];
|
||||
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime=true"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
++ [
|
||||
./nix.nix
|
||||
./helix
|
||||
./chromium.nix
|
||||
./gpg
|
||||
./git.nix
|
||||
./shell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue