initial commit
This commit is contained in:
commit
813b424831
13 changed files with 171 additions and 0 deletions
20
systems/vm/configuration.nix
Normal file
20
systems/vm/configuration.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, ...}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../all-modules.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
users.users.riley = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"];
|
||||
};
|
||||
|
||||
modules.graphical.enable = true;
|
||||
modules.terminal.enable = true;
|
||||
|
||||
console.keyMap = "uk";
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
19
systems/vm/hardware-configuration.nix
Normal file
19
systems/vm/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, modulesPath, ...}:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/ed56e12e-55cc-42e0-b94f-9a6d6bb2bdad";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue