fixed some stuff

This commit is contained in:
William 2025-10-17 11:01:11 -03:00
parent 6d41eeaf88
commit 64379d7ab4
2 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,9 @@
{ inputs, self, ... }: { inputs, self, ... }:
{ {
flake.deploy.nodes = { flake.deploy = {
remoteBuild = true; remoteBuild = true;
alexandria = { nodes = {
alexandria = {
hostname = "alexandria"; hostname = "alexandria";
profiles.system = { profiles.system = {
sshUser = "user"; sshUser = "user";
@ -36,6 +37,7 @@
}; };
}; };
}; };
};
perSystem = perSystem =
{ system, ... }: { system, ... }:
{ {

View file

@ -1,4 +1,4 @@
{ inputs, ... }: { ... }:
{ {
perSystem = perSystem =
@ -8,10 +8,8 @@
packages = with pkgs; [ packages = with pkgs; [
nil nil
nixfmt-rfc-style nixfmt-rfc-style
deploy-rs
]; ];
shellHook = ''
alias deploy='${inputs.deploy-rs.packages.${pkgs.system}.default}/bin/deploy --skip-checks'
'';
}; };
}; };
} }