20 lines
433 B
Nix
20 lines
433 B
Nix
{ lib, config, pkgs, flakeRoot, ... }:
|
|
|
|
let
|
|
username = config.defaultUser or "henrov";
|
|
scriptsPath = flakeRoot + "/generated/.config/scripts";
|
|
in
|
|
{
|
|
home-manager.users = {
|
|
${username} = {
|
|
home.file = {
|
|
".config/scripts/update.sh" = {
|
|
text = builtins.readFile (flakeRoot + "/generated/.config/scripts/update.sh");
|
|
executable = true;
|
|
force = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|