Compare commits
3 commits
009567e423
...
b5555ac4b4
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b5555ac4b4 | ||
![]() |
e98f1f8bd0 | ||
![]() |
ca763d0077 |
4 changed files with 27 additions and 5 deletions
components/virtualisation
homes/palo/packages
machines
|
@ -14,10 +14,13 @@ with lib;
|
||||||
|
|
||||||
config = mkIf config.components.virtualisation.virtualbox.enable {
|
config = mkIf config.components.virtualisation.virtualbox.enable {
|
||||||
|
|
||||||
virtualisation.virtualbox = {
|
virtualisation.virtualbox.host.enable = true;
|
||||||
host.enable = true;
|
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||||
guest.enable = true;
|
virtualisation.virtualbox.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,6 +6,22 @@
|
||||||
}:
|
}:
|
||||||
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 {
|
||||||
|
|
||||||
|
@ -27,7 +43,8 @@ with lib;
|
||||||
openscad
|
openscad
|
||||||
fstl
|
fstl
|
||||||
|
|
||||||
# cura
|
orca-slicer
|
||||||
|
bambu-studio
|
||||||
|
|
||||||
qrencode
|
qrencode
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
# (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,6 +45,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
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