added mc6
This commit is contained in:
parent
2f436316cd
commit
528cf24849
2 changed files with 23 additions and 0 deletions
16
systems/mc6/configuration.nix
Normal file
16
systems/mc6/configuration.nix
Normal 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"
|
||||
#];
|
||||
}
|
||||
7
systems/mc6/hardware-configuration.nix
Normal file
7
systems/mc6/hardware-configuration.nix
Normal 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"; };
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue