added hyrule vps host and colmena remote deployment
This commit is contained in:
parent
23942b961e
commit
f46de5b1d7
5 changed files with 152 additions and 16 deletions
34
flake.nix
34
flake.nix
|
|
@ -51,6 +51,13 @@
|
|||
# this is just something I'm experimenting with
|
||||
PROJECT_ROOT = builtins.toString ./.;
|
||||
in {
|
||||
# shell for `nix develop`
|
||||
devShells."x86_64-linux".default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
colmena
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
# i be on my puter fr
|
||||
myputer = nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -73,14 +80,29 @@
|
|||
];
|
||||
};
|
||||
|
||||
# my server (vps)
|
||||
imbored = nixpkgs.lib.nixosSystem {
|
||||
specialargs = {inherit inputs pkgs;};
|
||||
# meine vps
|
||||
#imbored = nixpkgs.lib.nixosSystem {
|
||||
# specialargs = {inherit inputs pkgs;};
|
||||
#
|
||||
# modules = [
|
||||
# ./hosts/imbored
|
||||
# ];
|
||||
#};
|
||||
};
|
||||
|
||||
modules = [
|
||||
./hosts/imbored
|
||||
];
|
||||
# remote deployment to my servers!!
|
||||
colmena = {
|
||||
meta = {
|
||||
# set nixpkgs global
|
||||
nixpkgs = pkgs;
|
||||
# set nixpkgs per server
|
||||
# nodeNixpkgs = {
|
||||
# hyrule = pkgs;
|
||||
# };
|
||||
};
|
||||
|
||||
# meine vps
|
||||
hyrule = import ./hosts/hyrule;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue