meta: reorganize nix-os and hosts to single directory nixos
This commit is contained in:
parent
be46e02c61
commit
cb05ce5b44
76 changed files with 54 additions and 52 deletions
|
@ -1,25 +0,0 @@
|
|||
{ lib, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/virtualisation/qemu-vm.nix"
|
||||
../nix-os/account.nix
|
||||
../nix-os/core.nix
|
||||
../nix-os/core-desktop.nix
|
||||
../nix-os/locale.nix
|
||||
../nix-os/polkit/disable-shutdown.nix
|
||||
../nix-os/shell.nix
|
||||
../nix-os/udev.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
services.syncthing.enable = lib.mkForce false;
|
||||
virtualisation = {
|
||||
memorySize = 4096;
|
||||
};
|
||||
virtualisation.forwardPorts = [
|
||||
{ from = "host"; host.port = 2222; guest.port = 22; }
|
||||
];
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue