config.___ -> config.this.___
This commit is contained in:
parent
c4f5a3af82
commit
123ffa01e9
|
@ -2,11 +2,11 @@
|
||||||
# TODO Still need the following dependecies
|
# TODO Still need the following dependecies
|
||||||
# - Language tools (grammer)
|
# - Language tools (grammer)
|
||||||
let
|
let
|
||||||
cfg = config.application.emacs;
|
cfg = config.this.application.emacs;
|
||||||
graphical = config.this.graphical;
|
graphical = config.this.graphical;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options = {
|
options = {
|
||||||
application.emacs = {
|
this.application.emacs = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = graphical.enable;
|
default = graphical.enable;
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.application.firefox;
|
cfg = config.this.application.firefox;
|
||||||
graphical = config.this.graphical;
|
graphical = config.this.graphical;
|
||||||
sway_cfg = config.applications.sway;
|
sway_cfg = config.this.application.sway;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options = {
|
options = {
|
||||||
application.firefox = {
|
this.application.firefox = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = graphical.enable;
|
default = graphical.enable;
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.application.nextcloud;
|
cfg = config.this.application.nextcloud;
|
||||||
graphical = config.this.graphical;
|
graphical = config.this.graphical;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options = {
|
options = {
|
||||||
application.nextcloud = {
|
this.application.nextcloud = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = graphical.enable;
|
default = graphical.enable;
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ options, config, lib, pkgs, ... }:
|
{ options, config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.application.mako;
|
cfg = config.this.application.mako;
|
||||||
sway = config.application.sway;
|
sway = config.this.application.sway;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options = {
|
options = {
|
||||||
application.mako = {
|
this.application.mako = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
# TODO track based on sway default
|
|
||||||
default = sway.enable;
|
default = sway.enable;
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
description = "testing one two three";
|
description = "testing one two three";
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.application.sway;
|
cfg = config.this.application.sway;
|
||||||
graphical = config.this.graphical;
|
graphical = config.this.graphical;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options = {
|
options = {
|
||||||
application.sway = {
|
this.application.sway = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
# TODO base on graphical
|
# TODO base on graphical
|
||||||
default = graphical.enable;
|
default = graphical.enable;
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ options, config, lib, pkgs, ... }:
|
{ options, config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.application.waybar;
|
cfg = config.this.application.waybar;
|
||||||
sway_cfg = config.application.sway;
|
sway_cfg = config.this.application.sway;
|
||||||
in with lib; {
|
in with lib; {
|
||||||
options = {
|
options = {
|
||||||
application.waybar = {
|
this.application.waybar = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
# TODO track based on sway default
|
|
||||||
default = sway_cfg.enable;
|
default = sway_cfg.enable;
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
description = "testing one two three";
|
description = "testing one two three";
|
||||||
|
|
Reference in New Issue
Block a user