Compare commits
2 commits
c358881432
...
e3c79188d3
| Author | SHA1 | Date | |
|---|---|---|---|
| e3c79188d3 | |||
| 2e06f18f30 |
4 changed files with 12 additions and 4 deletions
|
|
@ -32,9 +32,9 @@ in {
|
||||||
natural_scroll = true;
|
natural_scroll = true;
|
||||||
scroll_factor = 0.5;
|
scroll_factor = 0.5;
|
||||||
};
|
};
|
||||||
kb_options = lib.mkDefault "caps:escape";
|
kb_options = lib.mkDefault "caps:escape,grp:alt_shift_toggle";
|
||||||
kb_layout = lib.mkDefault "us";
|
kb_layout = lib.mkDefault "us,gb";
|
||||||
kb_variant = lib.mkDefault "dvorak";
|
kb_variant = lib.mkDefault "dvorak,";
|
||||||
numlock_by_default = true;
|
numlock_by_default = true;
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,14 @@
|
||||||
"steam-original"
|
"steam-original"
|
||||||
"osu-lazer"
|
"osu-lazer"
|
||||||
];
|
];
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gamescope-wsi # HDR won't work without this
|
||||||
|
];
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true;
|
remotePlay.openFirewall = true;
|
||||||
dedicatedServer.openFirewall = true;
|
dedicatedServer.openFirewall = true;
|
||||||
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
gamescopeSession = {
|
gamescopeSession = {
|
||||||
enable = true;
|
enable = true;
|
||||||
args = ["-r" "120" "-W" "3840" "-H" "2160" "-O" "HDMI-A-1" "--rt" "--hdr-enabled" "--adaptive-sync" "--xwayland-count" "2"];
|
args = ["-r" "120" "-W" "3840" "-H" "2160" "-O" "HDMI-A-1" "--rt" "--hdr-enabled" "--adaptive-sync" "--xwayland-count" "2"];
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "synapse";
|
name = "synapse";
|
||||||
url = "https://raw.githubusercontent.com/element-hq/synapse/refs/heads/master/contrib/grafana/synapse.json";
|
url = "https://raw.githubusercontent.com/element-hq/synapse/refs/heads/master/contrib/grafana/synapse.json";
|
||||||
sha256 = "sha256:0yzj1i4zbjy9cms75ip6ad8qyjgv9kka42gxsbzyzr2syznsmqw0";
|
sha256 = "sha256:1lhhhzjm1rj25gg6dnmgwaxr05f8p2ndrlygdnjqzam7s6y75db3";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,10 @@ in {
|
||||||
services.vaultwarden = {
|
services.vaultwarden = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backupDir = "/mnt/storage/backups/vaultwarden";
|
backupDir = "/mnt/storage/backups/vaultwarden";
|
||||||
|
config = {
|
||||||
|
ROCKET_ADDRESS = "::1";
|
||||||
|
ROCKET_PORT = 8222;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts.${domain} = {
|
services.nginx.virtualHosts.${domain} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue