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";
|
ensureDefaultPrinter = "Brother-T525W";
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ _: {
|
|||||||
*/
|
*/
|
||||||
docker.enable = true; # Docker: container runtime and management
|
docker.enable = true; # Docker: container runtime and management
|
||||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||||
|
virualization.enable = true; # GUI application for managing local and remote virtual machines through libvirt
|
||||||
flatpak = {
|
flatpak = {
|
||||||
enable = true; # Flatpak: universal packaging system for Linux
|
enable = true; # Flatpak: universal packaging system for Linux
|
||||||
packages = {
|
packages = {
|
||||||
@@ -97,9 +98,9 @@ _: {
|
|||||||
eyeOfGnome.enable = true; # Eye of GNOME: image viewer
|
eyeOfGnome.enable = true; # Eye of GNOME: image viewer
|
||||||
switcheroo.enable = false; # Switcheroo: file conversion tool
|
switcheroo.enable = false; # Switcheroo: file conversion tool
|
||||||
freetube.enable = false; # FreeTube: privacy‑friendly YouTube client
|
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
|
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
|
plex.enable = false; # Plex: media player and server client
|
||||||
jellyfin.enable = true; # Jellyfin: foss media player
|
jellyfin.enable = true; # Jellyfin: foss media player
|
||||||
appImages.losslesscut.enable = true; # Losslesscut: Swiss army knife of lossless video/audio editing
|
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
|
docker.enable = true; # Docker: container runtime and management
|
||||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||||
|
virualization.enable = false; # GUI application for managing local and remote virtual machines through libvirt
|
||||||
flatpak = {
|
flatpak = {
|
||||||
enable = true; # Flatpak: universal packaging system for Linux
|
enable = true; # Flatpak: universal packaging system for Linux
|
||||||
packages = {
|
packages = {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ _: {
|
|||||||
*/
|
*/
|
||||||
docker.enable = false; # Docker: container runtime and management
|
docker.enable = false; # Docker: container runtime and management
|
||||||
virtualbox.enable = false; # VirtualBox: PC emulator
|
virtualbox.enable = false; # VirtualBox: PC emulator
|
||||||
|
virualization.enable = false; # GUI application for managing local and remote virtual machines through libvirt
|
||||||
flatpak = {
|
flatpak = {
|
||||||
enable = false; # Flatpak: universal packaging system for Linux
|
enable = false; # Flatpak: universal packaging system for Linux
|
||||||
packages = {
|
packages = {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
./user.nix
|
./user.nix
|
||||||
./ventoy.nix
|
./ventoy.nix
|
||||||
./virtualbox.nix
|
./virtualbox.nix
|
||||||
|
./virualization.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
./zram.nix
|
./zram.nix
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
fetchurl,
|
fetchurl,
|
||||||
}: let
|
}: let
|
||||||
pname = "helium";
|
pname = "helium";
|
||||||
version = "0.14.3.1";
|
version = "0.14.4.1";
|
||||||
hash = "sha256-umRDXcHlDRDWpdP4wxr81q+cUXkjiIxyg2AcJRFQaMA=";
|
hash = "sha256-91hO0NtjUxEZwUyMYe7RD1RfFIelYa8ExzLKRsLaZZo=";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
|
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 = {
|
programs.bash.shellAliases = {
|
||||||
# GarandOS aliases
|
# GarandOS aliases
|
||||||
pullos = "git -C /home/${username}/garandos pull";
|
pullos = "git -C /home/${username}/garandos pull";
|
||||||
upd = "nh os switch -H ${host} -d always";
|
upd = "sudo nix flake update --flake /home/${username}/garandos";
|
||||||
upg = "nh os switch -H ${host} --update -d always";
|
upd-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
||||||
upf = "sudo nix flake update --flake /home/${username}/garandos";
|
upd-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
||||||
upf-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
upd-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
||||||
upf-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
upd-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
||||||
upf-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
upg = "nh os switch -H ${host} -d always";
|
||||||
upf-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
upg-upd = "nh os switch -H ${host} --update -d always";
|
||||||
upd-bt = "nh os boot -H ${host} -d always";
|
upg-bt = "nh os boot -H ${host} -d always";
|
||||||
upd-ts = "nh os test -H ${host} -d always";
|
upg-ts = "nh os test -H ${host} -d always";
|
||||||
upd-bd = "nh os build -H ${host} -d always";
|
upg-bd = "nh os build -H ${host} -d always";
|
||||||
tui = "garandos-tui";
|
tui = "garandos-tui";
|
||||||
ncg = "nh clean all --optimise";
|
ncg = "nh clean all --optimise";
|
||||||
|
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
programs.fish.shellAliases = {
|
programs.fish.shellAliases = {
|
||||||
# GarandOS aliases
|
# GarandOS aliases
|
||||||
pullos = "git -C /home/${username}/garandos pull";
|
pullos = "git -C /home/${username}/garandos pull";
|
||||||
upd = "nh os switch -H ${host} -d always";
|
upd = "sudo nix flake update --flake /home/${username}/garandos";
|
||||||
upg = "nh os switch -H ${host} --update -d always";
|
upd-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
||||||
upf = "sudo nix flake update --flake /home/${username}/garandos";
|
upd-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
||||||
upf-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos";
|
upd-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
||||||
upf-pkgs = "sudo nix flake update --flake /home/${username}/garandos nixpkgs";
|
upd-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
||||||
upf-pkgs-gh = "nix flake update --option access-tokens \"github.com=$(gh auth token)\" --flake /home/${username}/garandos nixpkgs";
|
upg = "nh os switch -H ${host} -d always";
|
||||||
upf-undo = "git -C /home/${username}/garandos restore /home/${username}/garandos/flake.lock";
|
upg-upd = "nh os switch -H ${host} --update -d always";
|
||||||
upd-bt = "nh os boot -H ${host} -d always";
|
upg-bt = "nh os boot -H ${host} -d always";
|
||||||
upd-ts = "nh os test -H ${host} -d always";
|
upg-ts = "nh os test -H ${host} -d always";
|
||||||
upd-bd = "nh os build -H ${host} -d always";
|
upg-bd = "nh os build -H ${host} -d always";
|
||||||
tui = "garandos-tui";
|
tui = "garandos-tui";
|
||||||
ncg = "nh clean all --optimise";
|
ncg = "nh clean all --optimise";
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
};
|
};
|
||||||
sounds = {
|
sounds = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
volume = 0.5;
|
volume = 0.1;
|
||||||
separateSounds = false;
|
separateSounds = false;
|
||||||
criticalSoundFile = "/home/${username}/garandos/modules/home/noctalia/settings/notifications/payday-2-new-objective-sound-effect.mp3";
|
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";
|
normalSoundFile = "/home/${username}/garandos/modules/home/noctalia/settings/notifications/payday-2-new-objective-sound-effect.mp3";
|
||||||
|
|||||||
Reference in New Issue
Block a user