mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
Remove unnecessary dag
variables
Also remove a few trailing whitespaces.
(cherry picked from commit 701b4130bd
)
This commit is contained in:
parent
85cd97e616
commit
f3c02513a9
5 changed files with 4 additions and 14 deletions
|
@ -6,8 +6,6 @@ let
|
||||||
|
|
||||||
cfg = config.programs.msmtp;
|
cfg = config.programs.msmtp;
|
||||||
|
|
||||||
dag = config.lib.dag;
|
|
||||||
|
|
||||||
msmtpAccounts = filter (a: a.msmtp.enable)
|
msmtpAccounts = filter (a: a.msmtp.enable)
|
||||||
(attrValues config.accounts.email.accounts);
|
(attrValues config.accounts.email.accounts);
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,6 @@ with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
dag = config.lib.dag;
|
|
||||||
|
|
||||||
cfg = config.programs.notmuch;
|
cfg = config.programs.notmuch;
|
||||||
|
|
||||||
mkIniKeyValue = key: value:
|
mkIniKeyValue = key: value:
|
||||||
|
|
|
@ -6,8 +6,6 @@ let
|
||||||
|
|
||||||
cfg = config.services.polybar;
|
cfg = config.services.polybar;
|
||||||
|
|
||||||
dag = config.lib.dag;
|
|
||||||
|
|
||||||
toPolybarIni = generators.toINI {
|
toPolybarIni = generators.toINI {
|
||||||
mkKeyValue = key: value:
|
mkKeyValue = key: value:
|
||||||
let
|
let
|
||||||
|
|
|
@ -6,8 +6,6 @@ let
|
||||||
|
|
||||||
cfg = config.xsession.windowManager.i3;
|
cfg = config.xsession.windowManager.i3;
|
||||||
|
|
||||||
dag = config.lib.dag;
|
|
||||||
|
|
||||||
commonOptions = {
|
commonOptions = {
|
||||||
fonts = mkOption {
|
fonts = mkOption {
|
||||||
type = types.listOf types.string;
|
type = types.listOf types.string;
|
||||||
|
|
|
@ -6,8 +6,6 @@ let
|
||||||
|
|
||||||
cfg = config.xsession.windowManager.xmonad;
|
cfg = config.xsession.windowManager.xmonad;
|
||||||
|
|
||||||
dag = config.lib.dag;
|
|
||||||
|
|
||||||
xmonad = pkgs.xmonad-with-packages.override {
|
xmonad = pkgs.xmonad-with-packages.override {
|
||||||
ghcWithPackages = cfg.haskellPackages.ghcWithPackages;
|
ghcWithPackages = cfg.haskellPackages.ghcWithPackages;
|
||||||
packages = self:
|
packages = self:
|
||||||
|
|
Loading…
Reference in a new issue