Compare commits
No commits in common. "b5555ac4b4d2d9956070c6cd78ea6084b93f4073" and "009567e423b932feb1c621e59a046abd1187012c" have entirely different histories.
b5555ac4b4
...
009567e423
4 changed files with 5 additions and 27 deletions
components/virtualisation
homes/palo/packages
machines
|
@ -14,13 +14,10 @@ with lib;
|
||||||
|
|
||||||
config = mkIf config.components.virtualisation.virtualbox.enable {
|
config = mkIf config.components.virtualisation.virtualbox.enable {
|
||||||
|
|
||||||
virtualisation.virtualbox.host.enable = true;
|
virtualisation.virtualbox = {
|
||||||
virtualisation.virtualbox.host.enableExtensionPack = true;
|
host.enable = true;
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
guest.enable = true;
|
||||||
virtualisation.virtualbox.guest.dragAndDrop = true;
|
};
|
||||||
|
|
||||||
# https://discourse.nixos.org/t/issue-with-virtualbox-in-24-11/57607/2
|
|
||||||
boot.kernelParams = [ "kvm.enable_virt_at_load=0" ];
|
|
||||||
|
|
||||||
users.extraGroups.vboxusers.members = [ config.users.users.mainUser.name ];
|
users.extraGroups.vboxusers.members = [ config.users.users.mainUser.name ];
|
||||||
|
|
||||||
|
|
|
@ -6,22 +6,6 @@
|
||||||
}:
|
}:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
with lib;
|
with lib;
|
||||||
let
|
|
||||||
use_override = false;
|
|
||||||
bambu-studio =
|
|
||||||
if use_override then
|
|
||||||
pkgs.bambu-studio.overrideAttrs (old: rec {
|
|
||||||
version = "01.10.02.76";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "bambulab";
|
|
||||||
repo = "BambuStudio";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-LvAi3I5lnnumhOUagyej28uVy0Lgd3e19HNQXOUWSvQ=";
|
|
||||||
};
|
|
||||||
})
|
|
||||||
else
|
|
||||||
pkgs.bambu-studio;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
config = mkIf config.gui.enable {
|
config = mkIf config.gui.enable {
|
||||||
|
|
||||||
|
@ -43,8 +27,7 @@ in
|
||||||
openscad
|
openscad
|
||||||
fstl
|
fstl
|
||||||
|
|
||||||
orca-slicer
|
# cura
|
||||||
bambu-studio
|
|
||||||
|
|
||||||
qrencode
|
qrencode
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
# (promptKey "pushover.api_key");
|
# (promptKey "pushover.api_key");
|
||||||
|
|
||||||
components.virtualisation.enable = true;
|
components.virtualisation.enable = true;
|
||||||
components.virtualisation.qemu.enable = false;
|
|
||||||
|
|
||||||
components.gui.enable = true;
|
components.gui.enable = true;
|
||||||
#components.gui.audio.enable = false;
|
#components.gui.audio.enable = false;
|
||||||
|
|
|
@ -45,7 +45,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
boot.kernel.sysctl."net.ipv4.ip_forwarding" = false;
|
|
||||||
|
|
||||||
services.logrotate.checkConfig = false; # because uid 3000 does not exist in here
|
services.logrotate.checkConfig = false; # because uid 3000 does not exist in here
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue