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:
parent
29738555b1
commit
9b8f894a1a
43 changed files with 459 additions and 344 deletions
|
@ -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 = {
|
3
hosts/nix-darwin/apavel-a01/meta.nix
Normal file
3
hosts/nix-darwin/apavel-a01/meta.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
system = "x86_64-darwin";
|
||||
}
|
|
@ -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
|
15
hosts/nix-darwin/limonka/meta.nix
Normal file
15
hosts/nix-darwin/limonka/meta.nix
Normal 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;
|
||||
};
|
||||
}
|
3
hosts/nix-darwin/limontozu/meta.nix
Normal file
3
hosts/nix-darwin/limontozu/meta.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
system = "x86_64-darwin";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue