vm: only x86_64-linux
This commit is contained in:
parent
b42f4b2562
commit
4253e78b07
18
flake.nix
18
flake.nix
@ -123,28 +123,20 @@
|
||||
})
|
||||
];
|
||||
|
||||
mkVM =
|
||||
system:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
vm = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
{ nixpkgs.overlays = overlays; }
|
||||
./hosts/vm/configuration.nix
|
||||
|
||||
./modules
|
||||
./modules/profiles/desktop
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
specialArgs = {
|
||||
inherit myData;
|
||||
} // inputs;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
vm-x86_64 = mkVM "x86_64-linux";
|
||||
vm-aarch64 = mkVM "aarch64-linux";
|
||||
|
||||
mtworx = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
@ -7,10 +7,13 @@
|
||||
imports = [
|
||||
"${modulesPath}/profiles/all-hardware.nix"
|
||||
"${modulesPath}/installer/cd-dvd/iso-image.nix"
|
||||
../../modules
|
||||
../../modules/profiles/btrfs
|
||||
../../modules/profiles/desktop
|
||||
];
|
||||
|
||||
mj = {
|
||||
stateVersion = "24.05";
|
||||
stateVersion = "24.11";
|
||||
timeZone = "UTC";
|
||||
username = "nixos";
|
||||
|
||||
@ -24,7 +27,6 @@
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
supportedFilesystems = [
|
||||
"zfs"
|
||||
"btrfs"
|
||||
];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user