Use nixosModules and homeManagerModules for config
This commit is contained in:
parent
88a054f3b4
commit
2de0e1a2d6
46 changed files with 151 additions and 190 deletions
|
@ -8,9 +8,9 @@
|
|||
with lib;
|
||||
|
||||
{
|
||||
options.features.desktop.flameshot.enable = mkEnableOption "Enable flameshot";
|
||||
options.homeManagerModules.flameshot.enable = mkEnableOption "Enable flameshot";
|
||||
|
||||
config = mkIf config.features.desktop.flameshot.enable {
|
||||
config = mkIf config.homeManagerModules.flameshot.enable {
|
||||
services.flameshot = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue