xray, deploy-rs testing
This commit is contained in:
parent
8c193dc65b
commit
334878ca29
3 changed files with 148 additions and 9 deletions
15
flake.nix
15
flake.nix
|
|
@ -4,7 +4,7 @@
|
|||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
|
||||
|
||||
xray-3x-ui.url = "github:sunmeplz/xray-3x-ui";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
agenix = {
|
||||
url = "github:ryantm/agenix";
|
||||
};
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
quickshell = {
|
||||
url = "github:outfoxxed/quickshell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -49,6 +50,8 @@
|
|||
stylix,
|
||||
disko,
|
||||
agenix,
|
||||
xray-3x-ui,
|
||||
deploy-rs,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
|
|
@ -133,9 +136,19 @@
|
|||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./hosts/kittykat/configuration.nix
|
||||
xray-3x-ui.nixosModules.default
|
||||
agenix.nixosModules.default
|
||||
inputs.disko.nixosModules.disko
|
||||
];
|
||||
};
|
||||
deploy.nodes.kittykat = {
|
||||
hostname = "kittykat";
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.kittykat;
|
||||
interactiveSudo = true;
|
||||
};
|
||||
};
|
||||
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue