Modified Bellerophon config to nixos
This commit is contained in:
@@ -141,7 +141,7 @@
|
|||||||
./home
|
./home
|
||||||
./home/shell
|
./home/shell
|
||||||
./home/applications
|
./home/applications
|
||||||
./home/desktops/gnome
|
./home/desktops/kde
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ in {
|
|||||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./duo-configuration.nix
|
#./duo-configuration.nix
|
||||||
inputs.disko.nixosModules.disko
|
inputs.disko.nixosModules.disko
|
||||||
./disko.nix
|
./disko.nix
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ in {
|
|||||||
../../modules/containers.nix
|
../../modules/containers.nix
|
||||||
../../modules/virtualization.nix
|
../../modules/virtualization.nix
|
||||||
../../modules/harden.nix
|
../../modules/harden.nix
|
||||||
../../modules/gnome.nix
|
../../modules/kde.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set networking
|
# Set networking
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
duoRepo = builtins.fetchGit {
|
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
|
# 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
|
# Path to the duo script
|
||||||
@@ -31,7 +31,8 @@ in {
|
|||||||
description = "set screens on keyboard event";
|
description = "set screens on keyboard event";
|
||||||
wantedBy = ["default.target"];
|
wantedBy = ["default.target"];
|
||||||
after = ["graphical-session.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 = {
|
serviceConfig = {
|
||||||
ExecStart = "${modifiedDuoScript} watch-displays";
|
ExecStart = "${modifiedDuoScript} watch-displays";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
|
|||||||
@@ -51,5 +51,11 @@
|
|||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
sof-firmware
|
sof-firmware
|
||||||
|
|
||||||
|
#rotation stuff
|
||||||
|
pkgs.gnome-monitor-config
|
||||||
|
pkgs.usbutils
|
||||||
|
pkgs.inotify-tools
|
||||||
|
pkgs.kdePackages.libkscreen
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user