added some dev apps and services
This commit is contained in:
17
system/services/docker.nix
Normal file
17
system/services/docker.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
storageDriver = "overlay2";
|
||||
enableOnBoot = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker
|
||||
docker-compose
|
||||
docker-buildx
|
||||
nvidia-container-toolkit
|
||||
];
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
}
|
||||
16
system/services/libvirtd.nix
Normal file
16
system/services/libvirtd.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
allowedBridges = [
|
||||
"virbr0"
|
||||
"nm-bridge"
|
||||
];
|
||||
qemu.package = pkgs.qemu_full;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
qemu-utils
|
||||
virt-manager
|
||||
];
|
||||
}
|
||||
5
system/services/steam.nix
Normal file
5
system/services/steam.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.steam ];
|
||||
programs.steam.enable = true;
|
||||
}
|
||||
8
system/services/tailscale.nix
Normal file
8
system/services/tailscale.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
interfaceName = "tailscale0";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user