Compare commits

...

2 commits

Author SHA1 Message Date
232bb15689 feat: add libvirt 2024-10-07 13:30:45 +02:00
f4a331abeb feat(zsh): function mkcdir 2024-10-07 11:48:03 +02:00
2 changed files with 25 additions and 0 deletions

View file

@ -40,6 +40,26 @@
programs.hyprland.enable = true;
programs.zsh.enable = true;
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd
];
};
};
};
systemd.services.libvirtd.wantedBy = lib.mkForce [ ];
systemd.services.libvirt-guests.wantedBy = lib.mkForce [ ];
users.users.ahurac = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ];

View file

@ -147,6 +147,11 @@
src = pkgs.zsh-vi-mode;
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
}];
initExtra = ''
mkcdir() {
mkdir -p -- "$@" && cd -- "$1"
}
'';
};
wayland.windowManager.hyprland = {