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