Bugfix flake.nix

This commit is contained in:
m3tam3re 2025-04-10 12:32:08 +02:00
parent e93f2a634a
commit 2d22b15e85

View File

@ -29,7 +29,7 @@
} @ inputs: let
jsonConfig = builtins.fromJSON (builtins.readFile ./config.json);
in {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
(base-config.nixosModules.default {
@ -43,7 +43,7 @@
inherit self;
};
};
deploy.nodes.nixos = {
deploy.nodes.server = {
hostname = "self-host-playbook";
profiles.system = {
sshUser = jsonConfig.username;
@ -51,7 +51,7 @@
interactiveSudo = true;
path =
deploy-rs.lib.x86_64-linux.activate.nixos
self.nixosConfigurations.nixos;
self.nixosConfigurations.server;
};
};
};