refactoring
This commit is contained in:
parent
9313d89b15
commit
3adc5e9f73
40 changed files with 73 additions and 73 deletions
26
modules/mizukios/features/management/cockpit.nix
Normal file
26
modules/mizukios/features/management/cockpit.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
dbus.enable = true;
|
||||
};
|
||||
users.groups.libvirtd.members = [ "imnyang" ];
|
||||
|
||||
services.cockpit = {
|
||||
enable = true;
|
||||
plugins = with pkgs; [
|
||||
cockpit-machines
|
||||
cockpit-files
|
||||
cockpit-podman
|
||||
];
|
||||
openFirewall = true;
|
||||
allowed-origins = [ "*" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
libvirt-dbus
|
||||
virt-manager
|
||||
virt-viewer
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue