diff --git a/systems/mc6/configuration.nix b/systems/mc6/configuration.nix new file mode 100644 index 0000000..f4d5497 --- /dev/null +++ b/systems/mc6/configuration.nix @@ -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" + #]; +} diff --git a/systems/mc6/hardware-configuration.nix b/systems/mc6/hardware-configuration.nix new file mode 100644 index 0000000..7ac1c80 --- /dev/null +++ b/systems/mc6/hardware-configuration.nix @@ -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"; }; +}