mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
service changes
This commit is contained in:
3 files changed
+18
-11
No files matched your search
@@ -3,6 +3,12 @@
|
|||||||
flake.nixosModules.service-docker =
|
flake.nixosModules.service-docker =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
virtualisation.docker.enable = true;
|
# Rootless: the daemon runs as the user, so access to it isn't root
|
||||||
|
# (membership in the `docker` group of a rootful daemon would be).
|
||||||
|
# setSocketVariable points DOCKER_HOST at the user's socket.
|
||||||
|
virtualisation.docker.rootless = {
|
||||||
|
enable = true;
|
||||||
|
setSocketVariable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,22 +1,13 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
flake.nixosModules.service-security =
|
flake.nixosModules.service-security =
|
||||||
{ pkgs, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = false;
|
enableSSHSupport = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.wrappers = {
|
|
||||||
gsr-kms-server = {
|
|
||||||
source = "${pkgs.gpu-screen-recorder}/bin/gsr-kms-server";
|
|
||||||
owner = "root";
|
|
||||||
group = "root";
|
|
||||||
permissions = "u+rx,g+rx,o+rx";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
flake.nixosModules.service-usbmuxd =
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
# iOS device multiplexer: libimobiledevice, ifuse and xtool talk to an
|
||||||
|
# iPhone over USB through this daemon (started by udev on plug-in).
|
||||||
|
services.usbmuxd.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user