flake: inherit explicitly from parts of lib
Instead of doing `inherit (lib) <something>``, all inherits now use `inherit (lib.<subsystem>) <something>`, which is much nicer.
This commit is contained in:
parent
0b78657f3b
commit
53aaa26fa1
29 changed files with 67 additions and 45 deletions
|
@ -4,11 +4,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
|
||||
inherit (config.meta.mainUser) username;
|
||||
cfg = config.modules.system.programs.terminals.foot;
|
||||
colours = config.modules.style.colorScheme.colors;
|
||||
inherit (config.meta.mainUser) username;
|
||||
|
||||
inherit (lib) mkIf;
|
||||
|
||||
foot-config = pkgs.writeText "foot.ini" (lib.generators.toINI {} {
|
||||
main = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue