mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-15 19:37:19 +02:00
treewide: remove 'with lib;'
This commit is contained in:
parent
cf54323dc7
commit
78ae241387
53 changed files with 245 additions and 245 deletions
|
@ -8,8 +8,8 @@ let
|
|||
cfg = config.my.profiles."3d-design";
|
||||
in
|
||||
{
|
||||
options.my.profiles."3d-design" = with lib; {
|
||||
enable = mkEnableOption "3d-design profile";
|
||||
options.my.profiles."3d-design" = {
|
||||
enable = lib.mkEnableOption "3d-design profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -8,8 +8,8 @@ let
|
|||
cfg = config.my.profiles.android;
|
||||
in
|
||||
{
|
||||
options.my.profiles.android = with lib; {
|
||||
enable = mkEnableOption "android profile";
|
||||
options.my.profiles.android = {
|
||||
enable = lib.mkEnableOption "android profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -8,8 +8,8 @@ let
|
|||
cfg = config.my.profiles.clean;
|
||||
in
|
||||
{
|
||||
options.my.profiles.clean = with lib; {
|
||||
enable = mkEnableOption "clean profile";
|
||||
options.my.profiles.clean = {
|
||||
enable = lib.mkEnableOption "clean profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -8,8 +8,8 @@ let
|
|||
cfg = config.my.profiles.desktop-apps;
|
||||
in
|
||||
{
|
||||
options.my.profiles.desktop-apps = with lib; {
|
||||
enable = mkEnableOption "desktop-apps profile";
|
||||
options.my.profiles.desktop-apps = {
|
||||
enable = lib.mkEnableOption "desktop-apps profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -8,8 +8,8 @@ let
|
|||
cfg = config.my.profiles.desktop-dev;
|
||||
in
|
||||
{
|
||||
options.my.profiles.desktop-dev = with lib; {
|
||||
enable = mkEnableOption "desktop-dev profile";
|
||||
options.my.profiles.desktop-dev = {
|
||||
enable = lib.mkEnableOption "desktop-dev profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -8,8 +8,8 @@ let
|
|||
cfg = config.my.profiles.development;
|
||||
in
|
||||
{
|
||||
options.my.profiles.development = with lib; {
|
||||
enable = mkEnableOption "development profile";
|
||||
options.my.profiles.development = {
|
||||
enable = lib.mkEnableOption "development profile";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue