added mc6

This commit is contained in:
mc-fucker 2022-02-24 20:26:11 +01:00
parent 2f436316cd
commit 528cf24849
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ ... }: {
imports = [
./hardware-configuration.nix
./modules/generic.nix
];
#boot.cleanTmpDir = true;
#zramSwap.enable = true;
networking.hostName = "mc6";
services.openssh.enable = true;
#users.users.root.openssh.authorizedKeys.keys = [
# "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFyGaBZIZYjiBhOFD2drvG316B9NUVSbMpTIhOCQur8P"
#];
}

View file

@ -0,0 +1,7 @@
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
}