feat(nixos): enable GNOME, add Droidcam, and update services config
Some checks are pending
Flake checker / Build Nix targets (push) Waiting to run
Some checks are pending
Flake checker / Build Nix targets (push) Waiting to run
This commit is contained in:
@@ -28,9 +28,9 @@
|
||||
};
|
||||
|
||||
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
|
||||
systemd.tmpfiles.rules = [
|
||||
"L+ /run/gdm/.config/monitors.xml - - - - ${./monitors.xml}"
|
||||
];
|
||||
# systemd.tmpfiles.rules = [
|
||||
# "L+ /etc/gdm/.config/monitors.xml - - - - ${./monitors.xml}"
|
||||
# ];
|
||||
security = {
|
||||
sudo.wheelNeedsPassword = false;
|
||||
polkit.enable = true;
|
||||
@@ -103,7 +103,7 @@
|
||||
};
|
||||
};
|
||||
displayManager.gdm.enable = true;
|
||||
# desktopManager.gnome.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
@@ -140,6 +140,7 @@
|
||||
# };
|
||||
# services.wireplumber.configPackages = with pkgs; [ bluez ];
|
||||
|
||||
environment.etc."xdg/monitors.xml".source = ./monitors.xml;
|
||||
# environment.etc = {
|
||||
# "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
# bluez_monitor.properties = {
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
./gnome-disks.nix
|
||||
./nix-ld.nix
|
||||
./gamemode.nix
|
||||
./droidcam.nix
|
||||
];
|
||||
}
|
||||
|
||||
5
nixos/ryu/programs/droidcam.nix
Normal file
5
nixos/ryu/programs/droidcam.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{...}: {
|
||||
programs.droidcam = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
@@ -15,6 +15,7 @@
|
||||
};
|
||||
ignoreIP = [
|
||||
"106.219.121.52"
|
||||
"106.219.122.125"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
authentication_enabled = true;
|
||||
authentication_method = "External";
|
||||
};
|
||||
server.port = 9696;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1 +1 @@
|
||||
autossh -M 0 -N -D 1080 mirai
|
||||
autossh -M 0 -N -D 1080 tako
|
||||
|
||||
Reference in New Issue
Block a user