feat(configurations)!: flatten down, introduce meta.nix

Flatten down directory structure:
- From: `./hosts/${configuration-type}/${system}/{configuration,deploy}.nix`
-   To: `./hosts/${configuration-type}/{meta,configuration}.nix`
Keep `system` and `deploy-rs` config in `meta.nix`
Update `flake.lock`
This commit is contained in:
reo101 2024-08-13 15:53:14 +03:00
parent 29738555b1
commit 9b8f894a1a
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
43 changed files with 459 additions and 344 deletions

View file

@ -20,7 +20,7 @@
# Zig
zigpkgs.master
inputs.zls-overlay.packages.x86_64-darwin.default
# inputs.zls-overlay.packages.x86_64-darwin.default
];
programs.git = {

View file

@ -0,0 +1,3 @@
{
system = "x86_64-darwin";
}

View file

@ -66,7 +66,7 @@
nurl
# Mail
# himalaya
himalaya
# Java
graalvm-ce
@ -87,7 +87,7 @@
# Zig
zigpkgs.master
inputs.zls-overlay.packages.${pkgs.system}.default
# inputs.zls-overlay.packages.${pkgs.system}.default
# Android
android-tools

View file

@ -0,0 +1,15 @@
{
system = "aarch64-darwin";
deploy = {
hostname = "localhost";
sshUser = "pavelatanasov";
user = "pavelatanasov";
sudo = "sudo -u";
sshOpts = [ ];
fastConnection = false;
autoRollback = true;
magicRollback = true;
tempPath = "/Users/pavelatanasov/.deploy-rs";
remoteBuild = true;
};
}

View file

@ -0,0 +1,3 @@
{
system = "x86_64-darwin";
}