do password stuff for virtual machines
This commit is contained in:
parent
b7f0fed007
commit
f7e969fdf3
3 changed files with 66 additions and 1 deletions
|
|
@ -3,3 +3,59 @@
|
|||
# Dragneel - Desktop #
|
||||
# #
|
||||
######################
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = lib.flatten [
|
||||
# Disks
|
||||
inputs.disko.nixosModules.disko
|
||||
(lib.custom.relativeToRoot "hosts/common/disks/btrfs-disk.nix")
|
||||
{
|
||||
_module.args = {
|
||||
disk = "/dev/nvme0n1";
|
||||
withSwap = true;
|
||||
swapSize = "8";
|
||||
};
|
||||
}
|
||||
|
||||
# Misc
|
||||
|
||||
(map lib.custom.relativeToRoot [
|
||||
# Required configs
|
||||
"hosts/common/core"
|
||||
|
||||
# Optional configs
|
||||
"hosts/common/optional/audio.nix"
|
||||
"hosts/common/optional/bluetooth.nix"
|
||||
"hosts/common/optional/pentesting.nix"
|
||||
"hosts/common/optional/gaming.nix"
|
||||
"hosts/common/optional/printing.nix"
|
||||
])
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
hostSpec = {
|
||||
hostName = "Dragneel";
|
||||
isVirtual = true;
|
||||
persistFolder = "/persist";
|
||||
};
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
enableIPv6 = false;
|
||||
};
|
||||
|
||||
boot.loader = {
|
||||
limine = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue