feat: pa-notify and libvirtd configuration
added virt-manager and libvirtd for VMs added pa-notify autostart command for volume notification
This commit is contained in:
parent
71de8c08a0
commit
ab9b248551
5 changed files with 20 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
|||
myAutostartCommands = [
|
||||
"fcitx5"
|
||||
"${pkgs.udiskie}/bin/udiskie"
|
||||
"${pkgs.pa-notify}/bin/pa-notify"
|
||||
];
|
||||
myConfigLocation = "/home/${myUserName}/nix-conf";
|
||||
};
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
file = {"wallpaper.jpg".source = ./assets/nixos-wallpaper.jpg;};
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
prismlauncher
|
||||
protonvpn-gui
|
||||
devenv
|
||||
vlc
|
||||
|
|
|
@ -40,10 +40,13 @@
|
|||
];
|
||||
bind = let
|
||||
terminalCmd = "${pkgs.foot}/bin/foot -f 'BlexMono Nerd Font:size=12' -o colors.alpha=0.85 ${config.myShells.defaultShell}";
|
||||
screenshotLocation = "/home/${config.myUserName}/Screenshots/$(date '+%Y-%m-%d-%H-%M-%S').png";
|
||||
in
|
||||
[
|
||||
"$mod SHIFT, L, exec, ${pkgs.hyprlock}/bin/hyprlock --immediate"
|
||||
|
||||
"$mod SHIFT, Print, exec, ${pkgs.grimblast}/bin/grimblast copysave output ${screenshotLocation}"
|
||||
"$mod, Print, exec, ${pkgs.grimblast}/bin/grimblast copysave area ${screenshotLocation}"
|
||||
", Print, exec, ${pkgs.grimblast}/bin/grimblast copy area"
|
||||
|
||||
# special workspace keybinds
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
./nvidia.nix
|
||||
./fonts.nix
|
||||
./services/laptop.preset.nix
|
||||
./virtualisation.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
environment.variables = {
|
||||
|
|
14
nixos/virtualisation.nix
Normal file
14
nixos/virtualisation.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
#virtualisation.vmware.host.enable = true;
|
||||
#virtualisation.virtualbox.host = {
|
||||
# enable = true;
|
||||
#};
|
||||
users.users."${config.myUserName}".extraGroups = ["libvirtd"];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue