add test-kvm sops key

This commit is contained in:
2025-07-24 10:18:09 +02:00
parent 484999d2b2
commit d0a1a4204d
3 changed files with 13 additions and 25 deletions

12
flake.lock generated
View File

@@ -23,17 +23,17 @@
"mysecrets": {
"flake": false,
"locked": {
"lastModified": 1753261965,
"narHash": "sha256-KaKG3Vd7xpfQKAslnYPWCmqyoZTeefRDLqwSzD18nXQ=",
"lastModified": 1753141577,
"narHash": "sha256-MNbm7KCEqML5l72GppVoxXX03UtVGIzUsgaW+A+FBDQ=",
"ref": "refs/heads/main",
"rev": "341a2a1a75af6613018404dd0059d9c6d3fcc4a1",
"revCount": 3,
"rev": "c1edf4983cba959f93daa9c7ef0c1acbd958c755",
"revCount": 1,
"type": "git",
"url": "file:///root/git/nixos-secrets"
"url": "file:///home/beastie/nixos-secrets"
},
"original": {
"type": "git",
"url": "file:///root/git/nixos-secrets"
"url": "file:///home/beastie/nixos-secrets"
}
},
"nixpkgs": {

View File

@@ -15,7 +15,7 @@
};
mysecrets = {
url = "git+file:///root/git/nixos-secrets";
url = "git+file:///home/beastie/nixos-secrets";
flake = false;
};
};

View File

@@ -1,28 +1,16 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";