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

@@ -141,7 +141,7 @@
./home
./home/shell
./home/applications
./home/desktops/gnome
./home/desktops/kde
];
};
}

View File

@@ -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

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";

View File

@@ -51,5 +51,11 @@
environment.systemPackages = with pkgs; [
sof-firmware
#rotation stuff
pkgs.gnome-monitor-config
pkgs.usbutils
pkgs.inotify-tools
pkgs.kdePackages.libkscreen
];
}