diff --git a/flake.nix b/flake.nix index 3952bf8..9d5ff5c 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,7 @@ ./home ./home/shell ./home/applications - ./home/desktops/gnome + ./home/desktops/kde ]; }; } diff --git a/hosts/Bellerophon/default.nix b/hosts/Bellerophon/default.nix index 35c0879..00212b5 100644 --- a/hosts/Bellerophon/default.nix +++ b/hosts/Bellerophon/default.nix @@ -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 diff --git a/hosts/Bellerophon/duo-configuration.nix b/hosts/Bellerophon/duo-configuration.nix index 65bf2d4..a4fb555 100644 --- a/hosts/Bellerophon/duo-configuration.nix +++ b/hosts/Bellerophon/duo-configuration.nix @@ -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"; diff --git a/hosts/Bellerophon/hardware-configuration.nix b/hosts/Bellerophon/hardware-configuration.nix index 69d7432..183fb95 100644 --- a/hosts/Bellerophon/hardware-configuration.nix +++ b/hosts/Bellerophon/hardware-configuration.nix @@ -51,5 +51,11 @@ environment.systemPackages = with pkgs; [ sof-firmware + + #rotation stuff + pkgs.gnome-monitor-config + pkgs.usbutils + pkgs.inotify-tools + pkgs.kdePackages.libkscreen ]; }