mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-10 07:17:49 +02:00
home-manager: Use extraSpecialArgs for shared variables
Makes it possible to avoid inconsistencies with duplicate code.
This commit is contained in:
@ -165,6 +165,14 @@ in
|
||||
|
||||
homeDirectory = "/home/${username}";
|
||||
};
|
||||
|
||||
extraSpecialArgs = {
|
||||
vars = {
|
||||
notifications = {
|
||||
duration = "2000";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.vmVariant = {
|
||||
|
Reference in New Issue
Block a user