forked from fediversity/fediversity
Compare commits
No commits in common. "9b5de67b8e0180d057704140c0d452da53c736d5" and "baaa990513f08d2f2fe92e4acd00d3b546dc8fcb" have entirely different histories.
9b5de67b8e
...
baaa990513
3 changed files with 6 additions and 13 deletions
|
|
@ -1,13 +1,9 @@
|
|||
let
|
||||
# pulling this in manually over from module args resolves an infinite recursion
|
||||
sources = import ../../npins;
|
||||
in
|
||||
{ modulesPath, ... }:
|
||||
|
||||
{
|
||||
_class = "nixos";
|
||||
|
||||
imports = [
|
||||
"${sources.nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
|
||||
];
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@ let
|
|||
;
|
||||
};
|
||||
|
||||
nixos.module.imports = [
|
||||
./common/proxmox-qemu-vm.nix
|
||||
];
|
||||
|
||||
imports =
|
||||
[
|
||||
./common/resource.nix
|
||||
|
|
@ -44,6 +40,7 @@ let
|
|||
++ (
|
||||
if isTestVm then
|
||||
[
|
||||
./common/proxmox-qemu-vm.nix
|
||||
../machines/operator/${vmName}
|
||||
{
|
||||
nixos.module.users.users.root.openssh.authorizedKeys.keys = [
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ in
|
|||
};
|
||||
|
||||
## NOTE: This is a physical machine, so is not covered by disko
|
||||
fileSystems."/" = lib.mkForce {
|
||||
fileSystems."/" = {
|
||||
device = "rpool/root";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
|
@ -58,7 +58,7 @@ in
|
|||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = lib.mkForce {
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/50B2-DD3F";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue