Setup slippi for playing melee online
Also sets up monitor to run at 120Hz and prevents sway from locking when any window is fullscreen (kept locking while I was playing)
This commit is contained in:
parent
9890cc2870
commit
ce3d7e48ac
110
flake.lock
110
flake.lock
|
@ -21,13 +21,78 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lowdown-src": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1598695561,
|
||||||
|
"narHash": "sha256-gyH/5j+h/nWw0W8AcR2WKvNBUsiQ7QuxqSJNXAwV+8E=",
|
||||||
|
"owner": "kristapsdz",
|
||||||
|
"repo": "lowdown",
|
||||||
|
"rev": "1705b4a26fbf065d9574dce47a94e8c7c79e052f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "kristapsdz",
|
||||||
|
"repo": "lowdown",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nix": {
|
||||||
|
"inputs": {
|
||||||
|
"lowdown-src": "lowdown-src",
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1609520816,
|
||||||
|
"narHash": "sha256-IGO7tfJXsv9u2wpW76VCzOsHYapRZqH9pHGVsoffPrI=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nix",
|
||||||
|
"rev": "8a2ce0f455da32bc20978e68c0aad9efb4560abc",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nix",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1664538465,
|
"lastModified": 1665081174,
|
||||||
"narHash": "sha256-EnlC7dDKX7X1wlnXkB1gmn9rBZQ0J9+biVTZHw//8us=",
|
"narHash": "sha256-6hsmzdhdy8Kbvl5e0xZNE83pW3fKQvNiobJkM6KQrgA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "10ecda252ce1b3b1d6403caeadbcc8f30d5ab796",
|
"rev": "598f83ebeb2235435189cf84d844b8b73e858e0f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1602702596,
|
||||||
|
"narHash": "sha256-fqJ4UgOb4ZUnCDIapDb4gCrtAah5Rnr2/At3IzMitig=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "ad0d20345219790533ebe06571f82ed6b034db31",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"ref": "nixos-20.09-small",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1665259268,
|
||||||
|
"narHash": "sha256-ONFhHBLv5nZKhwV/F2GOH16197PbvpyWhoO0AOyktkU=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "c5924154f000e6306030300592f4282949b2db6c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -40,7 +105,44 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs",
|
||||||
|
"ssbm-nix": "ssbm-nix"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"slippi-desktop": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1607036060,
|
||||||
|
"narHash": "sha256-TUYsiVvKAws3N3roZYDwkLB0obyl6zwvh8CAk2RwHrY=",
|
||||||
|
"owner": "project-slippi",
|
||||||
|
"repo": "slippi-desktop-app",
|
||||||
|
"rev": "3ca39ba6bbd02157515b12a79aa01e5d669ad1b1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "project-slippi",
|
||||||
|
"repo": "slippi-desktop-app",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ssbm-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nix": "nix",
|
||||||
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"slippi-desktop": "slippi-desktop"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1665335753,
|
||||||
|
"narHash": "sha256-gtcRAaExgCi4p8+hVhGXhKiIj49n+Kr2JwAFdiI244U=",
|
||||||
|
"owner": "djanatyn",
|
||||||
|
"repo": "ssbm-nix",
|
||||||
|
"rev": "e61d2646a291a217e43d86a7cf2219bbc6ffa69c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "djanatyn",
|
||||||
|
"repo": "ssbm-nix",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,11 +5,13 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-22.05";
|
home-manager.url = "github:nix-community/home-manager/release-22.05";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
ssbm-nix.url = github:djanatyn/ssbm-nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
|
ssbm-nix,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -59,6 +61,7 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
ssbm-nix.nixosModule
|
||||||
./system/gospel/configuration.nix
|
./system/gospel/configuration.nix
|
||||||
./common/yubikey.nix
|
./common/yubikey.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -70,6 +70,15 @@
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ssbm = {
|
||||||
|
overlay.enable = true;
|
||||||
|
cache.enable = true;
|
||||||
|
gcc = {
|
||||||
|
oc-kmod.enable = true;
|
||||||
|
rules.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wrapperFeatures.gtk = true; # so that gtk works properly
|
wrapperFeatures.gtk = true; # so that gtk works properly
|
||||||
|
@ -89,6 +98,9 @@
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
slippi-netplay
|
||||||
|
slippi-playback
|
||||||
|
|
||||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
wget
|
wget
|
||||||
git
|
git
|
||||||
|
|
|
@ -74,12 +74,21 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.commands = [
|
||||||
|
{
|
||||||
|
command = "inhibit_idle fullscreen";
|
||||||
|
criterira = {class = ".*";};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
focus.followMouse = false;
|
focus.followMouse = false;
|
||||||
|
|
||||||
output = {
|
output = {
|
||||||
"*".bg = "${config.home.homeDirectory}/wallpaper.png fill";
|
"*".bg = "${config.home.homeDirectory}/wallpaper.png fill";
|
||||||
"eDP-1".scale = "1";
|
"eDP-1".scale = "1";
|
||||||
|
|
||||||
|
"Unknown ASUS VG24V 0x00007AAC".mode = "1920x1080@120Hz";
|
||||||
|
|
||||||
"Dell Inc. DELL S2721QS 47W7M43" = {
|
"Dell Inc. DELL S2721QS 47W7M43" = {
|
||||||
transform = "270";
|
transform = "270";
|
||||||
position = "1920 0";
|
position = "1920 0";
|
||||||
|
|
Loading…
Reference in a new issue