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:
@@ -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