Initial commit
Some checks failed
CI / check (push) Has been cancelled
CI / ida (push) Has been cancelled
CI / cpt (push) Has been cancelled
CI / build-nixos (ena) (push) Has been cancelled
CI / build-nixos (hako) (push) Has been cancelled
CI / build-nixos (kazusa) (push) Has been cancelled
CI / build-nixos (mizuki) (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
CI / ida (push) Has been cancelled
CI / cpt (push) Has been cancelled
CI / build-nixos (ena) (push) Has been cancelled
CI / build-nixos (hako) (push) Has been cancelled
CI / build-nixos (kazusa) (push) Has been cancelled
CI / build-nixos (mizuki) (push) Has been cancelled
This commit is contained in:
commit
70284509f3
144 changed files with 7061 additions and 0 deletions
26
modules/nixos/features/cockpit.nix
Normal file
26
modules/nixos/features/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