From 862760e50e896d7c224c3f1a2aa42992940b1849 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Fri, 13 Sep 2024 14:47:35 +0100 Subject: [PATCH] add satisfactory-server-flake as input and add a module to enable and open firewall --- flake.nix | 6 ++++++ home-manager/hyprland.nix | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b18277e..4db2f1e 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,11 @@ url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixpkgs"; }; + satisfactory-server = { + url = "github:nekowinston/satisfactory-server-flake" + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs: @@ -57,6 +62,7 @@ system = "x86_64-linux"; modules = [ inputs.disko.nixosModules.disko + inputs.satisfactory-server.nixosModules.satisfactory ./hosts/biggerpi/configuration.nix ]; }; diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index b4de3b1..7ce6998 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -28,8 +28,8 @@ }; bindl = [ - ",switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-2, 2560x1600@165, 0x0, auto"" - ",switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-2, disable"" + ",switch:off:Lid Switch,exec,hyprctl keyword monitor eDP-2, 2560x1600@165, 0x0, auto" + ",switch:on:Lid Switch,exec,hyprctl keyword monitor eDP-2, disable" ]; # Allow using SUPER+LEFT to move windows and SUPER+RIGHT to resize windows