fix: fixed kanshi service configuration

This commit is contained in:
Zhongheng Liu 2024-08-10 16:13:48 +08:00
commit 872935e646
No known key found for this signature in database
2 changed files with 10 additions and 3 deletions

View file

@ -64,8 +64,8 @@
vlc vlc
zed-editor zed-editor
rhythmbox rhythmbox
clash-verge-rev
]; ];
programs.waybar = { programs.waybar = {
enable = true; enable = true;
settings = [ settings = [
@ -133,7 +133,7 @@
{ {
criteria = "eDP-1"; criteria = "eDP-1";
position = "0,0"; position = "0,0";
status = "enable"; status = "disable";
} }
]; ];
}; };

View file

@ -15,7 +15,7 @@
./services/laptop.preset.nix ./services/laptop.preset.nix
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
#boot.kernelPackages = pkgs.linuxPackages_latest; # boot.kernelPackages = pkgs.linuxPackages_latest;
boot.supportedFilesystems = ["ntfs"]; boot.supportedFilesystems = ["ntfs"];
security.pam.services.hyprlock = {}; security.pam.services.hyprlock = {};
hardware.bluetooth = { hardware.bluetooth = {
@ -28,6 +28,13 @@
wantedBy = ["default.target"]; wantedBy = ["default.target"];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy"; serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
}; };
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
boot.loader = { boot.loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
grub = { grub = {