Bugfix flake.nix
This commit is contained in:
parent
e93f2a634a
commit
2d22b15e85
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user