Bugfix flake.nix
This commit is contained in:
parent
e93f2a634a
commit
2d22b15e85
@ -29,7 +29,7 @@
|
|||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
jsonConfig = builtins.fromJSON (builtins.readFile ./config.json);
|
jsonConfig = builtins.fromJSON (builtins.readFile ./config.json);
|
||||||
in {
|
in {
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.server = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
(base-config.nixosModules.default {
|
(base-config.nixosModules.default {
|
||||||
@ -43,7 +43,7 @@
|
|||||||
inherit self;
|
inherit self;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
deploy.nodes.nixos = {
|
deploy.nodes.server = {
|
||||||
hostname = "self-host-playbook";
|
hostname = "self-host-playbook";
|
||||||
profiles.system = {
|
profiles.system = {
|
||||||
sshUser = jsonConfig.username;
|
sshUser = jsonConfig.username;
|
||||||
@ -51,7 +51,7 @@
|
|||||||
interactiveSudo = true;
|
interactiveSudo = true;
|
||||||
path =
|
path =
|
||||||
deploy-rs.lib.x86_64-linux.activate.nixos
|
deploy-rs.lib.x86_64-linux.activate.nixos
|
||||||
self.nixosConfigurations.nixos;
|
self.nixosConfigurations.server;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user