config.___ -> config.this.___

This commit is contained in:
James Patrick 2021-12-15 20:58:52 -05:00
parent c4f5a3af82
commit 123ffa01e9
6 changed files with 15 additions and 17 deletions

View File

@ -2,11 +2,11 @@
# TODO Still need the following dependecies
# - Language tools (grammer)
let
cfg = config.application.emacs;
cfg = config.this.application.emacs;
graphical = config.this.graphical;
in with lib; {
options = {
application.emacs = {
this.application.emacs = {
enable = mkOption {
default = graphical.enable;
type = with types; bool;

View File

@ -1,11 +1,11 @@
{ config, pkgs, lib, ... }:
let
cfg = config.application.firefox;
cfg = config.this.application.firefox;
graphical = config.this.graphical;
sway_cfg = config.applications.sway;
sway_cfg = config.this.application.sway;
in with lib; {
options = {
application.firefox = {
this.application.firefox = {
enable = mkOption {
default = graphical.enable;
type = with types; bool;

View File

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
let
cfg = config.application.nextcloud;
cfg = config.this.application.nextcloud;
graphical = config.this.graphical;
in with lib; {
options = {
application.nextcloud = {
this.application.nextcloud = {
enable = mkOption {
default = graphical.enable;
type = with types; bool;

View File

@ -1,12 +1,11 @@
{ options, config, lib, pkgs, ... }:
let
cfg = config.application.mako;
sway = config.application.sway;
cfg = config.this.application.mako;
sway = config.this.application.sway;
in with lib; {
options = {
application.mako = {
this.application.mako = {
enable = mkOption {
# TODO track based on sway default
default = sway.enable;
type = with types; bool;
description = "testing one two three";

View File

@ -1,10 +1,10 @@
{ config, lib, pkgs, ... }:
let
cfg = config.application.sway;
cfg = config.this.application.sway;
graphical = config.this.graphical;
in with lib; {
options = {
application.sway = {
this.application.sway = {
enable = mkOption {
# TODO base on graphical
default = graphical.enable;

View File

@ -1,12 +1,11 @@
{ options, config, lib, pkgs, ... }:
let
cfg = config.application.waybar;
sway_cfg = config.application.sway;
cfg = config.this.application.waybar;
sway_cfg = config.this.application.sway;
in with lib; {
options = {
application.waybar = {
this.application.waybar = {
enable = mkOption {
# TODO track based on sway default
default = sway_cfg.enable;
type = with types; bool;
description = "testing one two three";