changed myOptions to modules

This commit is contained in:
Charlie Root 2024-04-13 15:38:42 +02:00
commit 5378e5c84a
4 changed files with 10 additions and 10 deletions

View file

@ -1,10 +1,10 @@
{pkgs, lib, config, ... }:
with lib; let
cfg = config.myOptions.programs.i3;
username = config.myOptions.other.system.username;
cfg = config.modules.programs.i3;
username = config.modules.other.system.username;
mod = "Mod4";
in {
options.myOptions.programs.i3.enable = mkEnableOption "i3";
options.modules.programs.i3.enable = mkEnableOption "i3";
config = mkIf cfg.enable {
services.xserver = {

View file

@ -1,6 +1,6 @@
{ pkgs, lib, config, callPackage, ... }:
with lib; let
username = config.myOptions.other.system.username;
username = config.modules.other.system.username;
cfg = config.modules.programs.i3;
in {
options.modules.programs.i3.enable = mkEnableOption "i3";