Modified Bellerophon config to nixos

This commit is contained in:
2024-10-31 09:40:30 -03:00
parent a673250585
commit 844e14349a
4 changed files with 13 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
{pkgs, ...}: let
# Clone the repository
duoRepo = builtins.fetchGit {
url = "https://github.com/alesya-h/zenbook-duo-2024-ux8406ma-linux";
url = "https://github.com/panotaka/zenbook-duo-2024-ux8406ma-linux";
# Specify a specific commit or branch if needed
rev = "2b8be1840f38f92e6626da7a442245b74ed0715f"; # Uncomment this line to specify a branch or commit
rev = "c178539c2c64e4e6867211d3557e6bfe9327014b"; # Uncomment this line to specify a branch or commit
};
# Path to the duo script
@@ -31,7 +31,8 @@ in {
description = "set screens on keyboard event";
wantedBy = ["default.target"];
after = ["graphical-session.target"];
path = [pkgs.gnome-monitor-config pkgs.usbutils pkgs.inotify-tools];
path = [pkgs.gnome-monitor-config pkgs.usbutils pkgs.inotify-tools pkgs.kdePackages.libkscreen];
serviceConfig = {
ExecStart = "${modifiedDuoScript} watch-displays";
Restart = "always";