fixup virt
This commit is contained in:
parent
75e9e63e51
commit
1d10ef75df
10 changed files with 15 additions and 18 deletions
|
|
@ -25,5 +25,7 @@
|
||||||
interface = "ens3"; # TODO: use correct interface name
|
interface = "ens3"; # TODO: use correct interface name
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.qemu.guestAgent.enable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -58,17 +58,12 @@
|
||||||
{ device = "/dev/disk/by-uuid/5b53c0b9-ab57-4992-8e81-957e19c7b685"; }
|
{ device = "/dev/disk/by-uuid/5b53c0b9-ab57-4992-8e81-957e19c7b685"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation.libvirtd = {
|
||||||
useEFIBoot = true;
|
enable = true;
|
||||||
libvirtd = {
|
nss.enableGuest = true;
|
||||||
enable = true;
|
startDelay = 1;
|
||||||
nss.enableGuest = true;
|
onShutdown = "shutdown";
|
||||||
startDelay = 1;
|
|
||||||
onShutdown = "shutdown";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
#rootDevice = "/dev/disk/by-label/nixos";
|
|
||||||
#mountHostNixStore = true;
|
|
||||||
|
|
||||||
services.openssh.banner = ''
|
services.openssh.banner = ''
|
||||||
__ __ __
|
__ __ __
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../common.nix
|
../common.nix
|
||||||
../vm.nix
|
../common-vm.nix
|
||||||
../../services/openssh.nix
|
../../services/openssh.nix
|
||||||
../../services/etcd.nix
|
../../services/etcd.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue