Add virtualization support and adjust defaults
- Disable printing by setting `printEnable = false`. - Add a new `virualization` module enabling libvirtd, virt‑manager, qemuGuest and spice‑vdagentd; enable it on the desktop host. - Change default applications: enable GIMP, disable Pixieditor. - Bump Helium AppImage to version 0.14.4.1 with updated hash. - Lower notification sound volume from 0.5 to 0.1. - Refactor Bash and Fish aliases: `upd` now updates flakes, `upg` performs OS switch, and new helper aliases are added.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
printEnable = true;
|
||||
printEnable = false;
|
||||
|
||||
ensureDefaultPrinter = "Brother-T525W";
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ _: {
|
||||
*/
|
||||
docker.enable = true; # Docker: container runtime and management
|
||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||
virualization.enable = true; # GUI application for managing local and remote virtual machines through libvirt
|
||||
flatpak = {
|
||||
enable = true; # Flatpak: universal packaging system for Linux
|
||||
packages = {
|
||||
@@ -97,9 +98,9 @@ _: {
|
||||
eyeOfGnome.enable = true; # Eye of GNOME: image viewer
|
||||
switcheroo.enable = false; # Switcheroo: file conversion tool
|
||||
freetube.enable = false; # FreeTube: privacy‑friendly YouTube client
|
||||
gimp.enable = false; # GIMP: GNU Image Manipulation Program
|
||||
gimp.enable = true; # GIMP: GNU Image Manipulation Program
|
||||
kdenlive.enable = true; # Kdenlive: video editing software
|
||||
pixieditor.enable = true; # Pixieditor: Universal editor for all your 2D needs
|
||||
pixieditor.enable = false; # Pixieditor: Universal editor for all your 2D needs
|
||||
plex.enable = false; # Plex: media player and server client
|
||||
jellyfin.enable = true; # Jellyfin: foss media player
|
||||
appImages.losslesscut.enable = true; # Losslesscut: Swiss army knife of lossless video/audio editing
|
||||
|
||||
@@ -4,6 +4,7 @@ _: {
|
||||
*/
|
||||
docker.enable = true; # Docker: container runtime and management
|
||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||
virualization.enable = false; # GUI application for managing local and remote virtual machines through libvirt
|
||||
flatpak = {
|
||||
enable = true; # Flatpak: universal packaging system for Linux
|
||||
packages = {
|
||||
|
||||
@@ -4,6 +4,7 @@ _: {
|
||||
*/
|
||||
docker.enable = false; # Docker: container runtime and management
|
||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||
virualization.enable = false; # GUI application for managing local and remote virtual machines through libvirt
|
||||
flatpak = {
|
||||
enable = false; # Flatpak: universal packaging system for Linux
|
||||
packages = {
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
./user.nix
|
||||
./ventoy.nix
|
||||
./virtualbox.nix
|
||||
./virualization.nix
|
||||
./xdg.nix
|
||||
./xserver.nix
|
||||
./zram.nix
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
fetchurl,
|
||||
}: let
|
||||
pname = "helium";
|
||||
version = "0.14.3.1";
|
||||
hash = "sha256-umRDXcHlDRDWpdP4wxr81q+cUXkjiIxyg2AcJRFQaMA=";
|
||||
version = "0.14.4.1";
|
||||
hash = "sha256-91hO0NtjUxEZwUyMYe7RD1RfFIelYa8ExzLKRsLaZZo=";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.virualization.enable = lib.mkEnableOption "Enable QEMU/KVM";
|
||||
|
||||
config = lib.mkIf config.virualization.enable {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
services = {
|
||||
qemuGuest.enable = true;
|
||||
spice-vdagentd.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6,16 +6,16 @@
|
||||
programs.bash.shellAliases = {
|
||||
# GarandOS aliases
|
||||
pullos = "git -C /home/${username}/garandos pull";
|
||||
upd = "nh os switch -H ${host} -d always";
|
||||
upg = "nh os switch -H ${host} --update -d always";
|
||||
upf = "sudo nix flake update --flake /home/${username}/garandos";
|
||||
upf-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
||||
upf-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
||||
upf-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
||||
upf-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
||||
upd-bt = "nh os boot -H ${host} -d always";
|
||||
upd-ts = "nh os test -H ${host} -d always";
|
||||
upd-bd = "nh os build -H ${host} -d always";
|
||||
upd = "sudo nix flake update --flake /home/${username}/garandos";
|
||||
upd-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
||||
upd-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
||||
upd-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
||||
upd-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
||||
upg = "nh os switch -H ${host} -d always";
|
||||
upg-upd = "nh os switch -H ${host} --update -d always";
|
||||
upg-bt = "nh os boot -H ${host} -d always";
|
||||
upg-ts = "nh os test -H ${host} -d always";
|
||||
upg-bd = "nh os build -H ${host} -d always";
|
||||
tui = "garandos-tui";
|
||||
ncg = "nh clean all --optimise";
|
||||
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
programs.fish.shellAliases = {
|
||||
# GarandOS aliases
|
||||
pullos = "git -C /home/${username}/garandos pull";
|
||||
upd = "nh os switch -H ${host} -d always";
|
||||
upg = "nh os switch -H ${host} --update -d always";
|
||||
upf = "sudo nix flake update --flake /home/${username}/garandos";
|
||||
upf-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
||||
upf-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
||||
upf-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
||||
upf-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
||||
upd-bt = "nh os boot -H ${host} -d always";
|
||||
upd-ts = "nh os test -H ${host} -d always";
|
||||
upd-bd = "nh os build -H ${host} -d always";
|
||||
upd = "sudo nix flake update --flake /home/${username}/garandos";
|
||||
upd-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
||||
upd-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
||||
upd-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
||||
upd-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
||||
upg = "nh os switch -H ${host} -d always";
|
||||
upg-upd = "nh os switch -H ${host} --update -d always";
|
||||
upg-bt = "nh os boot -H ${host} -d always";
|
||||
upg-ts = "nh os test -H ${host} -d always";
|
||||
upg-bd = "nh os build -H ${host} -d always";
|
||||
tui = "garandos-tui";
|
||||
ncg = "nh clean all --optimise";
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
};
|
||||
sounds = {
|
||||
enabled = true;
|
||||
volume = 0.5;
|
||||
volume = 0.1;
|
||||
separateSounds = false;
|
||||
criticalSoundFile = "/home/${username}/garandos/modules/home/noctalia/settings/notifications/payday-2-new-objective-sound-effect.mp3";
|
||||
normalSoundFile = "/home/${username}/garandos/modules/home/noctalia/settings/notifications/payday-2-new-objective-sound-effect.mp3";
|
||||
|
||||
Reference in New Issue
Block a user