cleaned up scripts/default.nix, learned that inherit can be used instead of 'var = var' in arguments
This commit is contained in:
@@ -30,7 +30,5 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = "America/New_York";
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,49 +6,20 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
keyring = import ./wm-controls/keyring.nix {
|
keyring = import ./wm-controls/keyring.nix { inherit self pkgs; };
|
||||||
self = self;
|
invoke = import ./commands/invoke.nix { inherit self pkgs; };
|
||||||
pkgs = pkgs;
|
splash = import ./commands/splash.nix { inherit self pkgs; };
|
||||||
};
|
runbg = import ./commands/runbg.nix { inherit self pkgs; };
|
||||||
invoke = import ./commands/invoke.nix {
|
garbage-collect = import ./nix/garbage-collect.nix { inherit self pkgs; };
|
||||||
self = self;
|
nsp = import ./nix/nsp.nix { inherit self pkgs; };
|
||||||
pkgs = pkgs;
|
scheck = import ./wm-controls/s_check.nix { inherit self pkgs; };
|
||||||
};
|
switchmon = import ./wm-controls/switchmon.nix { inherit self pkgs; };
|
||||||
splash = import ./commands/splash.nix {
|
rebuild = import ./nix/rebuild.nix { inherit host self pkgs; };
|
||||||
self = self;
|
moveonscreen = import ./wm-controls/moveonscreen.nix { inherit pkgs; };
|
||||||
pkgs = pkgs;
|
toolbelt = import ./commands/toolbelt.nix { inherit pkgs; };
|
||||||
};
|
viconf = import ./commands/viconf.nix { inherit pkgs; };
|
||||||
runbg = import ./commands/runbg.nix {
|
chscheme = import ./wm-controls/chscheme.nix { inherit pkgs; };
|
||||||
self = self;
|
chpaper = import ./wm-controls/chpaper.nix { inherit pkgs; };
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
garbage-collect = import ./nix/garbage-collect.nix {
|
|
||||||
self = self;
|
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
nsp = import ./nix/nsp.nix {
|
|
||||||
self = self;
|
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
scheck = import ./wm-controls/s_check.nix { self = self; pkgs = pkgs;};
|
|
||||||
switchmon = import ./wm-controls/switchmon.nix {
|
|
||||||
self = self;
|
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
rebuild = import ./nix/rebuild.nix {
|
|
||||||
host = host;
|
|
||||||
self = self;
|
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
moveonscreen = import ./wm-controls/moveonscreen.nix {pkgs = pkgs;};
|
|
||||||
toolbelt = import ./commands/toolbelt.nix {pkgs = pkgs;};
|
|
||||||
viconf = import ./commands/viconf.nix {
|
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
chscheme = import ./wm-controls/chscheme.nix {
|
|
||||||
pkgs = pkgs;
|
|
||||||
};
|
|
||||||
chpaper = import ./wm-controls/chpaper.nix {pkgs = pkgs;};
|
|
||||||
in {
|
in {
|
||||||
options = {
|
options = {
|
||||||
pagedmovScripts.enable = lib.mkEnableOption "enables pagedmov's scripts";
|
pagedmovScripts.enable = lib.mkEnableOption "enables pagedmov's scripts";
|
||||||
|
|||||||
Reference in New Issue
Block a user