Skip to content

Commit

Permalink
virtualisation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed Dec 28, 2024
1 parent ea610fb commit 96afd0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions outputs/os.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let
../system/modules/globalprotectvpn.nix
../system/machine/tongfang-amd
../system/configuration.nix
../system/virtualisation.nix
extraSystemConfig
];
in
Expand All @@ -33,7 +34,6 @@ in
../system/modules/globalprotectvpn.nix
../system/machine/thinkpad-x1
../system/configuration.nix
../system/virtualisation.nix
extraSystemConfig
];
};
Expand All @@ -48,19 +48,16 @@ in
inherit lib pkgs system;
specialArgs = { inherit inputs; };
modules = tongfangModules ++ [
# edp modules
home-manager.nixosModules.home-manager
(import ./mod.nix {
inherit inputs system;
extraSpecialArgs = pkgs.xargs { hidpi = false; };
})
# FIXME: zfs-kernel-2.2.3-6.8.9 is marked as broken
# iso image modules
#"${in puts.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
#"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
# disable networking.wireless from the iso minimal conf as we use networkmanager
#{ networking.wireless.enable = false; }
# vm user and password
{ users.users.gvolpe.initialPassword = "test"; }
];
};
}
4 changes: 2 additions & 2 deletions system/virtualisation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
# nixos-rebuild --build-vm
vmVariant = {
virtualisation = {
memorySize = 4096;
cores = 4;
memorySize = 8192;
cores = 6;
};
};
};
Expand Down

0 comments on commit 96afd0e

Please sign in to comment.