mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
Fixups
This commit is contained in:
parent
26196b3d59
commit
61b95262b8
3 changed files with 25 additions and 13 deletions
|
|
@ -138,17 +138,23 @@
|
||||||
user = "root";
|
user = "root";
|
||||||
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.${name};
|
path = inputs.deploy-rs.lib.x86_64-linux.activate.nixos inputs.self.nixosConfigurations.${name};
|
||||||
};
|
};
|
||||||
hostname = "${name}.inskip.me";
|
|
||||||
sshUser = "kat";
|
|
||||||
autoRollback = true;
|
autoRollback = true;
|
||||||
magicRollback = true;
|
magicRollback = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
(set.optional (name != "renko") {
|
(set.optional (name != "renko") {
|
||||||
sshOpts = ["-p" "${builtins.toString (builtins.head inputs.self.nixosConfigurations.${name}.config.services.openssh.ports)}"];
|
${name} = {
|
||||||
|
hostname = "${name}.inskip.me";
|
||||||
|
sshUser = "kat";
|
||||||
|
sshOpts = ["-p" "${builtins.toString (builtins.head inputs.self.nixosConfigurations.${name}.config.services.openssh.ports)}"];
|
||||||
|
};
|
||||||
})
|
})
|
||||||
(set.optional (name == "renko") {
|
(set.optional (name == "renko") {
|
||||||
sshOpts = ["-p" "32222"];
|
${name} = {
|
||||||
|
sshUser = "nixos";
|
||||||
|
hostname = "orb";
|
||||||
|
sshOpts = ["-p" "32222"];
|
||||||
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ _: let
|
||||||
"${inputs.nixpkgs}/nixos/modules/virtualisation/lxc-container.nix"
|
"${inputs.nixpkgs}/nixos/modules/virtualisation/lxc-container.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.extraOptions = "extra-platforms = x86_64-linux";
|
nix.extraOptions = "extra-platforms = x86_64-linux i686-linux";
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
|
|
@ -33,10 +33,12 @@ _: let
|
||||||
pkgs.btop
|
pkgs.btop
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.nftables.enable = mkForce false;
|
networking = {
|
||||||
|
nftables.enable = mkForce false;
|
||||||
networking.useDHCP = false;
|
firewall.enable = mkForce false;
|
||||||
networking.interfaces.eth0.useDHCP = true;
|
useDHCP = false;
|
||||||
|
interfaces.eth0.useDHCP = true;
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.hostPlatform = mkDefault "aarch64-linux";
|
nixpkgs.hostPlatform = mkDefault "aarch64-linux";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,11 @@ _: let
|
||||||
Port 32222
|
Port 32222
|
||||||
User default
|
User default
|
||||||
IdentityFile /Users/kat/.orbstack/ssh/id_ed25519
|
IdentityFile /Users/kat/.orbstack/ssh/id_ed25519
|
||||||
ProxyCommand env HOME=/Users/kat '/Applications/OrbStack.app/Contents/Frameworks/OrbStack Helper (VM).app/Contents/MacOS/OrbStack Helper (VM)' ssh-proxy-fdpass
|
|
||||||
ProxyUseFdpass yes
|
|
||||||
'';
|
'';
|
||||||
|
/*
|
||||||
|
ProxyCommand env HOME=/Users/kat '/Applications/OrbStack.app/Contents/Frameworks/OrbStack Helper (VM).app/Contents/MacOS/OrbStack Helper (VM)' ssh-proxy-fdpass
|
||||||
|
ProxyUseFdpass yes
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.buildMachines = [
|
nix.buildMachines = [
|
||||||
|
|
@ -82,9 +84,11 @@ _: let
|
||||||
Port 32222
|
Port 32222
|
||||||
User default
|
User default
|
||||||
IdentityFile /Users/kat/.orbstack/ssh/id_ed25519
|
IdentityFile /Users/kat/.orbstack/ssh/id_ed25519
|
||||||
ProxyCommand env HOME=/Users/kat '/Applications/OrbStack.app/Contents/Frameworks/OrbStack Helper (VM).app/Contents/MacOS/OrbStack Helper (VM)' ssh-proxy-fdpass
|
|
||||||
ProxyUseFdpass yes
|
|
||||||
'';
|
'';
|
||||||
|
/*
|
||||||
|
ProxyCommand env HOME=/Users/kat '/Applications/OrbStack.app/Contents/Frameworks/OrbStack Helper (VM).app/Contents/MacOS/OrbStack Helper (VM)' ssh-proxy-fdpass
|
||||||
|
ProxyUseFdpass yes
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue