[home] add virt-manager
This commit is contained in:
@@ -147,6 +147,7 @@
|
||||
simple-scan
|
||||
]);
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# Users
|
||||
|
||||
@@ -45,6 +45,12 @@ in
|
||||
options = [ "${btrfs-options},subvol=@docker" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/libvirt" =
|
||||
{ device = "/dev/disk/by-uuid/1b3938f0-358f-4358-b7fb-b448b6eba56a";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@libvirt" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
|
||||
# This can update XDG_DATA_DIR in .profile, which
|
||||
# make applications show up in GNOME's application menu.
|
||||
# See: https://github.com/nix-community/home-manager/issues/1439#issuecomment-673944201
|
||||
programs.bash.enable = true;
|
||||
targets.genericLinux.enable = true;
|
||||
xdg.enable = true;
|
||||
home.activation = {
|
||||
linkDesktopApplications = {
|
||||
after = [ "writeBoundary" "createXdgUserDirectories" ];
|
||||
before = [ ];
|
||||
data = "${pkgs.desktop-file-utils}/bin/update-desktop-database";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
desktop-file-utils
|
||||
|
||||
@@ -8,6 +23,7 @@
|
||||
mpv
|
||||
feishu
|
||||
moonlight-qt
|
||||
virt-manager
|
||||
];
|
||||
|
||||
# An Apple Music client, only can be downloaded after purchasing
|
||||
|
||||
Reference in New Issue
Block a user