aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-08-10 16:13:48 +0800
committerZhongheng Liu <z.liu@outlook.com.gr>2024-08-10 16:13:48 +0800
commit872935e646da11422a7c6a9b0d01bb24aab2009f (patch)
tree44e631575a702f4c5ed6ad942b0c79c431d16e2d
parent8bdd51e77a9c997d3a0dfa14b01b57cb16280dcb (diff)
downloadnixos-configuration-872935e646da11422a7c6a9b0d01bb24aab2009f.tar.gz
nixos-configuration-872935e646da11422a7c6a9b0d01bb24aab2009f.tar.bz2
nixos-configuration-872935e646da11422a7c6a9b0d01bb24aab2009f.zip
fix: fixed kanshi service configuration
-rw-r--r--home-manager/stvnliu/home.nix4
-rw-r--r--nixos/configuration.nix9
2 files changed, 10 insertions, 3 deletions
diff --git a/home-manager/stvnliu/home.nix b/home-manager/stvnliu/home.nix
index 0dfa1dd..090500a 100644
--- a/home-manager/stvnliu/home.nix
+++ b/home-manager/stvnliu/home.nix
@@ -64,8 +64,8 @@
vlc
zed-editor
rhythmbox
+ clash-verge-rev
];
-
programs.waybar = {
enable = true;
settings = [
@@ -133,7 +133,7 @@
{
criteria = "eDP-1";
position = "0,0";
- status = "enable";
+ status = "disable";
}
];
};
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 80f254e..0c90956 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -15,7 +15,7 @@
./services/laptop.preset.nix
./hardware-configuration.nix
];
- #boot.kernelPackages = pkgs.linuxPackages_latest;
+ # boot.kernelPackages = pkgs.linuxPackages_latest;
boot.supportedFilesystems = ["ntfs"];
security.pam.services.hyprlock = {};
hardware.bluetooth = {
@@ -28,6 +28,13 @@
wantedBy = ["default.target"];
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 = {
efi.canTouchEfiVariables = true;
grub = {