trying to fix git
This commit is contained in:
@@ -10,23 +10,22 @@ let
|
||||
in
|
||||
{
|
||||
imports = [ ./git.nix ];
|
||||
|
||||
programs.git.extraConfig.safe.directory = "${homePath}";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
home = {
|
||||
stateVersion = "24.05";
|
||||
username = "${user}";
|
||||
# username = "${user}";
|
||||
homeDirectory = "${homePath}";
|
||||
packages = [
|
||||
(pkgs.writeShellScriptBin "nfs" ''
|
||||
sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname}
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "init-panoptes" ''
|
||||
sudo -u git clone -b reorg https://gitea.john-stream.com/john/loki-nix /srv/panoptes
|
||||
'')
|
||||
git
|
||||
];
|
||||
(pkgs.writeShellScriptBin "nfs" ''
|
||||
sudo nixos-rebuild switch --flake git+file://${homePath}#${hostname}
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "init-panoptes" ''
|
||||
sudo -u git clone -b reorg https://gitea.john-stream.com/john/loki-nix /srv/panoptes
|
||||
'')
|
||||
git
|
||||
];
|
||||
};
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
Reference in New Issue
Block a user