Modified Bellerophon config to nixos
This commit is contained in:
@@ -14,7 +14,7 @@ in {
|
||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||
|
||||
./hardware-configuration.nix
|
||||
./duo-configuration.nix
|
||||
#./duo-configuration.nix
|
||||
inputs.disko.nixosModules.disko
|
||||
./disko.nix
|
||||
|
||||
@@ -23,7 +23,7 @@ in {
|
||||
../../modules/containers.nix
|
||||
../../modules/virtualization.nix
|
||||
../../modules/harden.nix
|
||||
../../modules/gnome.nix
|
||||
../../modules/kde.nix
|
||||
];
|
||||
|
||||
# Set networking
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -51,5 +51,11 @@
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
sof-firmware
|
||||
|
||||
#rotation stuff
|
||||
pkgs.gnome-monitor-config
|
||||
pkgs.usbutils
|
||||
pkgs.inotify-tools
|
||||
pkgs.kdePackages.libkscreen
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user